diff options
author | Vineet Gupta <vgupta@synopsys.com> | 2014-06-26 11:33:30 +0530 |
---|---|---|
committer | Bernhard Reutner-Fischer <rep.dot.nop@gmail.com> | 2014-07-22 09:50:50 +0200 |
commit | a427368f140f4bc94f806f912286dc1849a9fb93 (patch) | |
tree | daae1e4e526625f6584702f8b261c6bd924ba538 /libc/sysdeps | |
parent | 7e829db6ae6f181ce6b6db51e1568acddac81738 (diff) |
syscalls-common.h: Rename some macro args for correct documentation
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>
Diffstat (limited to 'libc/sysdeps')
-rw-r--r-- | libc/sysdeps/linux/common/bits/syscalls-common.h | 8 |
1 files 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 0f5a92990..86fe26c50 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 |