提交 92899314 编写于 作者: R Rich Felker

fix placement of multiple inclusion guard endif in internal syscall.h

this was messed up during a recent commit when the socketcall macros
were moved to the common internal/syscall.h, and the following commit
expanded the problem by adding more new content outside the guard.
上级 4ef04a27
...@@ -163,8 +163,6 @@ long __syscall_ret(unsigned long), __syscall(syscall_arg_t, ...), ...@@ -163,8 +163,6 @@ long __syscall_ret(unsigned long), __syscall(syscall_arg_t, ...),
#define SYS_fadvise SYS_fadvise64_64 #define SYS_fadvise SYS_fadvise64_64
#endif #endif
#endif
/* socketcall calls */ /* socketcall calls */
#define __SC_socket 1 #define __SC_socket 1
...@@ -205,3 +203,5 @@ long __syscall_ret(unsigned long), __syscall(syscall_arg_t, ...), ...@@ -205,3 +203,5 @@ long __syscall_ret(unsigned long), __syscall(syscall_arg_t, ...),
#define __sys_open_cp(...) __SYSCALL_DISP(__sys_open_cp,,__VA_ARGS__) #define __sys_open_cp(...) __SYSCALL_DISP(__sys_open_cp,,__VA_ARGS__)
#define sys_open_cp(...) __syscall_ret(__sys_open_cp(__VA_ARGS__)) #define sys_open_cp(...) __syscall_ret(__sys_open_cp(__VA_ARGS__))
#endif
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册