aboutsummaryrefslogtreecommitdiff
path: root/src/unistd/getppid.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/unistd/getppid.c')
-rw-r--r--src/unistd/getppid.c8
1 files changed, 8 insertions, 0 deletions
diff --git a/src/unistd/getppid.c b/src/unistd/getppid.c
index 05cade53..b42a7c98 100644
--- a/src/unistd/getppid.c
+++ b/src/unistd/getppid.c
@@ -5,3 +5,11 @@ pid_t getppid(void)
{
return __syscall(SYS_getppid);
}
+
+
+#ifdef TEST
+int
+main(void) {
+ return 0;
+}
+#endif