[git commit branch/0.9.33] Declare __err and pass it to INTERNAL_SYSCALL_NCS so subsequent macros can use it

Bernhard Reutner-Fischer rep.dot.nop at gmail.com
Tue Feb 7 11:10:13 UTC 2012


commit: http://git.uclibc.org/uClibc/commit/?id=ca457af92be7835edf77f34bead94f504fbc2d4b
branch: http://git.uclibc.org/uClibc/commit/?id=refs/heads/0.9.33

Signed-off-by: Khem Raj <raj.khem at gmail.com>
Signed-off-by: Bernhard Reutner-Fischer <rep.dot.nop at gmail.com>
---
 libc/sysdeps/linux/common/bits/syscalls-common.h |    4 ++--
 1 files changed, 2 insertions(+), 2 deletions(-)

diff --git a/libc/sysdeps/linux/common/bits/syscalls-common.h b/libc/sysdeps/linux/common/bits/syscalls-common.h
index faebd1b..0f5a929 100644
--- a/libc/sysdeps/linux/common/bits/syscalls-common.h
+++ b/libc/sysdeps/linux/common/bits/syscalls-common.h
@@ -59,8 +59,8 @@
 #ifndef INLINE_SYSCALL_NOERR_NCS
 # define INLINE_SYSCALL_NOERR_NCS(name, nr, args...)			\
 ({									\
-	/*INTERNAL_SYSCALL_DECL(__err);*/					\
-	long __res = INTERNAL_SYSCALL_NCS(name, /*__err*/, nr, args);	\
+	INTERNAL_SYSCALL_DECL(__err);					\
+	long __res = INTERNAL_SYSCALL_NCS(name, __err, nr, args);	\
 	__res;								\
 })
 #endif


More information about the uClibc-cvs mailing list