aboutsummaryrefslogtreecommitdiff
path: root/libc/sys.c
diff options
context:
space:
mode:
Diffstat (limited to 'libc/sys.c')
-rw-r--r--libc/sys.c4
1 files changed, 4 insertions, 0 deletions
diff --git a/libc/sys.c b/libc/sys.c
index bfc7a22..83f385b 100644
--- a/libc/sys.c
+++ b/libc/sys.c
@@ -4,6 +4,8 @@
#include <arg.h>
#include <sys.h>
+#if defined(userspace)
+
/**
* Definitions
*/
@@ -69,3 +71,5 @@ int sysv(enum sys num, ...)
return sys5(num, args[0], args[1], args[2], args[3], args[4]);
}
+
+#endif