aboutsummaryrefslogtreecommitdiff
path: root/src/unistd/dup2.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/unistd/dup2.c')
-rw-r--r--src/unistd/dup2.c8
1 files changed, 8 insertions, 0 deletions
diff --git a/src/unistd/dup2.c b/src/unistd/dup2.c
index 8f43c6dd..98c2830d 100644
--- a/src/unistd/dup2.c
+++ b/src/unistd/dup2.c
@@ -18,3 +18,11 @@ int dup2(int old, int new)
#endif
return __syscall_ret(r);
}
+
+
+#ifdef TEST
+int
+main(void) {
+ return 0;
+}
+#endif