diff options
author | Bernhard Reutner-Fischer <rep.dot.nop@gmail.com> | 2012-01-26 15:15:23 +0100 |
---|---|---|
committer | Bernhard Reutner-Fischer <rep.dot.nop@gmail.com> | 2012-01-26 15:15:23 +0100 |
commit | 549fa53225910f5341092d6647a1e3dd705b605f (patch) | |
tree | 04a37070ddefbeeb9def964aa2690d9d75e4c756 /libc/sysdeps/linux/c6x/bits | |
parent | ba48da4e3c8aa2478f30f7e3b745f3a355ed9442 (diff) |
*: silence some warnings
warning: ISO C90 forbids mixed declarations and code [-Wdeclaration-after-statement]
Signed-off-by: Bernhard Reutner-Fischer <rep.dot.nop@gmail.com>
Diffstat (limited to 'libc/sysdeps/linux/c6x/bits')
-rw-r--r-- | libc/sysdeps/linux/c6x/bits/syscalls.h | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/libc/sysdeps/linux/c6x/bits/syscalls.h b/libc/sysdeps/linux/c6x/bits/syscalls.h index 56a1667c3..504d0c36d 100644 --- a/libc/sysdeps/linux/c6x/bits/syscalls.h +++ b/libc/sysdeps/linux/c6x/bits/syscalls.h @@ -58,6 +58,7 @@ #define INTERNAL_SYSCALL_NCS(sys_num, err, nr, args...) \ +(__extension__ \ ({ \ register long __A4 __asm__("A4"); \ register long __b0 __asm__("B0") = sys_num; \ @@ -67,8 +68,8 @@ : "b" (__b0) ASM_ARGS_##nr \ : __SYSCALL_CLOBBERS ); \ (int)__A4; \ - }) - + }) \ +) #undef INTERNAL_SYSCALL_ERROR_P #define INTERNAL_SYSCALL_ERROR_P(val, err) \ ((unsigned int) (val) >= 0xfffff001u) |