media-libs/libchamplain: version bump from 0.12.13 to 0.12.14
[gentoo.git] / dev-libs / klibc / files / klibc-1.5.11-x86_64-io.h-return.diff
1 diff -Naur klibc-1.5.8.orig/usr/include/arch/x86_64/sys/io.h klibc-1.5.8/usr/include/arch/x86_64/sys/io.h
2 --- klibc-1.5.8.orig/usr/include/arch/x86_64/sys/io.h   2007-12-11 18:20:29.000000000 +0100
3 +++ klibc-1.5.8/usr/include/arch/x86_64/sys/io.h        2008-06-26 12:04:22.760046895 +0200
4 @@ -60,21 +60,21 @@
5  {
6         unsigned char __v;
7         asm volatile ("inb %1,%0" : "=a" (__v) : "dN"(__p));
8 -       return v;
9 +       return __v;
10  }
11  
12  static __inline__ unsigned short inw(unsigned short __p)
13  {
14         unsigned short __v;
15         asm volatile ("inw %1,%0" : "=a" (__v) : "dN"(__p));
16 -       return v;
17 +       return __v;
18  }
19  
20  static __inline__ unsigned int inl(unsigned short __p)
21  {
22         unsigned int __v;
23         asm volatile ("inl %1,%0" : "=a" (__v) : "dN"(__p));
24 -       return v;
25 +       return __v;
26  }
27  
28  /* String I/O macros */