OSDN Git Service

syscalls-common.h: Rename some macro args for correct documentation
authorVineet Gupta <vgupta@synopsys.com>
Thu, 26 Jun 2014 06:03:30 +0000 (11:33 +0530)
committerBernhard Reutner-Fischer <rep.dot.nop@gmail.com>
Tue, 22 Jul 2014 07:50:50 +0000 (09:50 +0200)
Signed-off-by: Vineet Gupta <vgupta@synopsys.com>
Cc: Mike Frysinger <vapier@gentoo.org>
Cc: Denys Vlasenko <vda.linux@googlemail.com>
Signed-off-by: Bernhard Reutner-Fischer <rep.dot.nop@gmail.com>
libc/sysdeps/linux/common/bits/syscalls-common.h

index 0f5a929..86fe26c 100644 (file)
 
 /* 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;                                            \
 )
 #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