aboutsummaryrefslogtreecommitdiff
path: root/posix/unistd.h
diff options
context:
space:
mode:
Diffstat (limited to 'posix/unistd.h')
-rw-r--r--posix/unistd.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/posix/unistd.h b/posix/unistd.h
index db952883f2..38ca4f0b4b 100644
--- a/posix/unistd.h
+++ b/posix/unistd.h
@@ -427,8 +427,8 @@ extern int isatty __P ((int __fd));
#ifdef __USE_BSD
/* Return the index into the active-logins file (utmp) for
- the terminal FD is open on. */
-extern int ttyslot ((int __fd));
+ the controlling terminal. */
+extern int ttyslot __P ((void));
#endif