aboutsummaryrefslogtreecommitdiff
path: root/src/unistd/chdir.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/unistd/chdir.c')
-rw-r--r--src/unistd/chdir.c8
1 files changed, 8 insertions, 0 deletions
diff --git a/src/unistd/chdir.c b/src/unistd/chdir.c
index 5ba78b63..893d44e4 100644
--- a/src/unistd/chdir.c
+++ b/src/unistd/chdir.c
@@ -5,3 +5,11 @@ int chdir(const char *path)
{
return syscall(SYS_chdir, path);
}
+
+
+#ifdef TEST
+int
+main(void) {
+ return 0;
+}
+#endif