[git commit master 1/1] Add a missing macro to C6X syscalls.h.

Bernd Schmidt bernds at codesourcery.com
Wed Mar 9 15:08:22 UTC 2011


commit: http://git.uclibc.org/uClibc/commit/?id=3b5e53eaf0c94051969974aab6c0e89bdb424f9c
branch: http://git.uclibc.org/uClibc/commit/?id=refs/heads/master

We need _syscall_noerr0 to fix compilation of getuid.c.

Signed-off-by: Bernd Schmidt <bernds at codesourcery.com>
---
 libc/sysdeps/linux/c6x/bits/syscalls.h |    1 +
 1 files changed, 1 insertions(+), 0 deletions(-)

diff --git a/libc/sysdeps/linux/c6x/bits/syscalls.h b/libc/sysdeps/linux/c6x/bits/syscalls.h
index 382ec51..56a1667 100644
--- a/libc/sysdeps/linux/c6x/bits/syscalls.h
+++ b/libc/sysdeps/linux/c6x/bits/syscalls.h
@@ -167,6 +167,7 @@ type name(C_DECL_ARGS_##nargs(args)) {					\
 }
 
 #define _syscall0(args...)		SYSCALL_FUNC(0, args)
+#define _syscall_noerr0(args...)	SYSCALL_NOERR_FUNC(0, args)
 #define _syscall1(args...)		SYSCALL_FUNC(1, args)
 #define _syscall_noerr1(args...)	SYSCALL_NOERR_FUNC(1, args)
 #define _syscall2(args...)		SYSCALL_FUNC(2, args)
-- 
1.7.3.4



More information about the uClibc-cvs mailing list