aboutsummaryrefslogtreecommitdiff
path: root/lib/sys/dup2.h
diff options
context:
space:
mode:
Diffstat (limited to 'lib/sys/dup2.h')
-rw-r--r--lib/sys/dup2.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/sys/dup2.h b/lib/sys/dup2.h
index 7726efb..9e67eec 100644
--- a/lib/sys/dup2.h
+++ b/lib/sys/dup2.h
@@ -3,7 +3,7 @@
#include "syscalls.h"
-int dup2(unsigned int oldfd, unsigned int newfd)
+static int dup2(unsigned int oldfd, unsigned int newfd)
{
return syscall(DUP2, oldfd, newfd);
}