浏览代码

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 13 年之前
父节点
当前提交
3b5e53eaf0
共有 1 个文件被更改,包括 1 次插入0 次删除
  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)