diff options
author | Mike Frysinger <vapier@gentoo.org> | 2006-01-29 16:32:07 +0000 |
---|---|---|
committer | Mike Frysinger <vapier@gentoo.org> | 2006-01-29 16:32:07 +0000 |
commit | c5d06340c12a25bbea6e2817175c95ffa1404eae (patch) | |
tree | 2dba8beb80e67a9ef8f8efb8a7586cda2b24394b /libc | |
parent | ed92e90941178d9b5a84d0cb591c722bdf61c382 (diff) |
rename _sys_result var to get rid of shadow warnings
Diffstat (limited to 'libc')
-rw-r--r-- | libc/sysdeps/linux/arm/bits/syscalls.h | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/libc/sysdeps/linux/arm/bits/syscalls.h b/libc/sysdeps/linux/arm/bits/syscalls.h index 21e5b8146..2beaf24d8 100644 --- a/libc/sysdeps/linux/arm/bits/syscalls.h +++ b/libc/sysdeps/linux/arm/bits/syscalls.h @@ -85,13 +85,13 @@ return (type) (INLINE_SYSCALL(name, 7, arg1, arg2, arg3, arg4, arg5, arg6, arg7) #undef INLINE_SYSCALL #define INLINE_SYSCALL(name, nr, args...) \ - ({ unsigned int _sys_result = INTERNAL_SYSCALL (name, , nr, args); \ - if (__builtin_expect (INTERNAL_SYSCALL_ERROR_P (_sys_result, ), 0)) \ + ({ unsigned int __sys_result = INTERNAL_SYSCALL (name, , nr, args); \ + if (__builtin_expect (INTERNAL_SYSCALL_ERROR_P (__sys_result, ), 0)) \ { \ - __set_errno (INTERNAL_SYSCALL_ERRNO (_sys_result, )); \ - _sys_result = (unsigned int) -1; \ + __set_errno (INTERNAL_SYSCALL_ERRNO (__sys_result, )); \ + __sys_result = (unsigned int) -1; \ } \ - (int) _sys_result; }) + (int) __sys_result; }) #undef INTERNAL_SYSCALL_DECL #define INTERNAL_SYSCALL_DECL(err) do { } while (0) |