[PATCH 1/6] syscalls-common.h: Rename some macro args for correct documentation

Vineet Gupta Vineet.Gupta1 at synopsys.com
Thu Jun 26 06:03:30 UTC 2014


Signed-off-by: Vineet Gupta <vgupta at synopsys.com>
Cc: Mike Frysinger <vapier at gentoo.org>
Cc: Denys Vlasenko <vda.linux at googlemail.com>
---
 libc/sysdeps/linux/common/bits/syscalls-common.h | 8 ++++----
 1 file changed, 4 insertions(+), 4 deletions(-)

diff --git a/libc/sysdeps/linux/common/bits/syscalls-common.h b/libc/sysdeps/linux/common/bits/syscalls-common.h
index 0f5a92990f05..86fe26c508c5 100644
--- a/libc/sysdeps/linux/common/bits/syscalls-common.h
+++ b/libc/sysdeps/linux/common/bits/syscalls-common.h
@@ -39,13 +39,13 @@
 
 /* Just like INLINE_SYSCALL(), but take a non-constant syscall (NCS) argument */
 #ifndef INLINE_SYSCALL_NCS
-# define INLINE_SYSCALL_NCS(name, nr, args...)				\
+# define INLINE_SYSCALL_NCS(num, nr, args...)				\
 (__extension__								\
  ({									\
 	INTERNAL_SYSCALL_DECL(__err);					\
 	(__extension__							\
 	 ({								\
-	   long __res = INTERNAL_SYSCALL_NCS(name, __err, nr, args);	\
+	   long __res = INTERNAL_SYSCALL_NCS(num, __err, nr, args);	\
 	   if (unlikely(INTERNAL_SYSCALL_ERROR_P(__res, __err))) {	\
 		__set_errno(INTERNAL_SYSCALL_ERRNO(__res, __err));	\
 		__res = -1L;						\
@@ -57,10 +57,10 @@
 )
 #endif
 #ifndef INLINE_SYSCALL_NOERR_NCS
-# define INLINE_SYSCALL_NOERR_NCS(name, nr, args...)			\
+# define INLINE_SYSCALL_NOERR_NCS(num, nr, args...)			\
 ({									\
 	INTERNAL_SYSCALL_DECL(__err);					\
-	long __res = INTERNAL_SYSCALL_NCS(name, __err, nr, args);	\
+	long __res = INTERNAL_SYSCALL_NCS(num, __err, nr, args);	\
 	__res;								\
 })
 #endif
-- 
1.8.3.2



More information about the uClibc mailing list