summaryrefslogtreecommitdiff
path: root/src/unistd/ttyname_r.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/unistd/ttyname_r.c')
-rw-r--r--src/unistd/ttyname_r.c3
1 files changed, 1 insertions, 2 deletions
diff --git a/src/unistd/ttyname_r.c b/src/unistd/ttyname_r.c
index 33aa4ae1..cb364c29 100644
--- a/src/unistd/ttyname_r.c
+++ b/src/unistd/ttyname_r.c
@@ -1,8 +1,7 @@
#include <unistd.h>
#include <errno.h>
#include <sys/stat.h>
-
-void __procfdname(char *, unsigned);
+#include "syscall.h"
int ttyname_r(int fd, char *name, size_t size)
{