summaryrefslogtreecommitdiff
path: root/src/internal
diff options
context:
space:
mode:
authorRich Felker <dalias@aerifal.cx>2014-05-27 00:09:05 -0400
committerRich Felker <dalias@aerifal.cx>2014-05-27 00:09:05 -0400
commit92899314462192f763ca8cd1582882bd55ce5470 (patch)
tree5215de2e76b0b309f9559fdd58715405b8ed3fc9 /src/internal
parent4ef04a27c7cf81db13316ceb6e840527977a7787 (diff)
downloadmusl-92899314462192f763ca8cd1582882bd55ce5470.tar.gz
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.
Diffstat (limited to 'src/internal')
-rw-r--r--src/internal/syscall.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/internal/syscall.h b/src/internal/syscall.h
index 9dd92995..b6b39aec 100644
--- a/src/internal/syscall.h
+++ b/src/internal/syscall.h
@@ -163,8 +163,6 @@ long __syscall_ret(unsigned long), __syscall(syscall_arg_t, ...),
#define SYS_fadvise SYS_fadvise64_64
#endif
-#endif
-
/* socketcall calls */
#define __SC_socket 1
@@ -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_ret(__sys_open_cp(__VA_ARGS__))
+
+#endif