aboutsummaryrefslogtreecommitdiff
path: root/io/ttyname.c
diff options
context:
space:
mode:
Diffstat (limited to 'io/ttyname.c')
-rw-r--r--io/ttyname.c3
1 files changed, 1 insertions, 2 deletions
diff --git a/io/ttyname.c b/io/ttyname.c
index 6332d29916..f70ebd12f0 100644
--- a/io/ttyname.c
+++ b/io/ttyname.c
@@ -25,8 +25,7 @@ char *__ttyname = NULL;
/* Return the pathname of the terminal FD is open on, or NULL on errors.
The returned storage is good only until the next call to this function. */
char *
-ttyname (fd)
- int fd;
+ttyname (int fd)
{
__set_errno (ENOSYS);
return NULL;