Explorar el Código

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>
Bernd Schmidt hace 13 años
padre
commit
3b5e53eaf0
Se han modificado 1 ficheros con 1 adiciones y 0 borrados
  1. 1 0
      libc/sysdeps/linux/c6x/bits/syscalls.h

+ 1 - 0
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)