summaryrefslogtreecommitdiff
path: root/include
diff options
context:
space:
mode:
Diffstat (limited to 'include')
-rw-r--r--include/sys/syscall.h10
-rw-r--r--include/unistd.h1
2 files changed, 1 insertions, 10 deletions
diff --git a/include/sys/syscall.h b/include/sys/syscall.h
index af3ca466..24987ddf 100644
--- a/include/sys/syscall.h
+++ b/include/sys/syscall.h
@@ -1,16 +1,6 @@
#ifndef _SYS_SYSCALL_H
#define _SYS_SYSCALL_H
-#ifdef __cplusplus
-extern "C" {
-#endif
-
-#include <features.h>
-
-long syscall(long, ...);
#include <bits/syscall.h>
-#ifdef __cplusplus
-}
-#endif
#endif
diff --git a/include/unistd.h b/include/unistd.h
index 64a6b461..89015ad6 100644
--- a/include/unistd.h
+++ b/include/unistd.h
@@ -175,6 +175,7 @@ void setusershell(void);
void endusershell(void);
char *getusershell(void);
int acct(const char *);
+long syscall(long, ...);
#endif
#ifdef _GNU_SOURCE