summaryrefslogtreecommitdiff
path: root/libc/sysdeps
diff options
context:
space:
mode:
authorBernd Schmidt <bernds@codesourcery.com>2011-03-09 16:05:33 +0100
committerBernd Schmidt <bernds@codesourcery.com>2011-03-09 16:06:53 +0100
commit3b5e53eaf0c94051969974aab6c0e89bdb424f9c (patch)
treee030bce8960f7d519aa9978b823923528503510a /libc/sysdeps
parente5d4a571e1e8850b36bbfb246270b63dab0c2a3d (diff)
Add a missing macro to C6X syscalls.h.
We need _syscall_noerr0 to fix compilation of getuid.c. Signed-off-by: Bernd Schmidt <bernds@codesourcery.com>
Diffstat (limited to 'libc/sysdeps')
-rw-r--r--libc/sysdeps/linux/c6x/bits/syscalls.h1
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 382ec5124..56a1667c3 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)