summaryrefslogtreecommitdiff
path: root/io/ttyname.c
diff options
context:
space:
mode:
Diffstat (limited to 'io/ttyname.c')
-rw-r--r--io/ttyname.c5
1 files changed, 2 insertions, 3 deletions
diff --git a/io/ttyname.c b/io/ttyname.c
index 6332d29916..cc7adda415 100644
--- a/io/ttyname.c
+++ b/io/ttyname.c
@@ -1,4 +1,4 @@
-/* Copyright (C) 1991-2015 Free Software Foundation, Inc.
+/* Copyright (C) 1991-2016 Free Software Foundation, Inc.
This file is part of the GNU C Library.
The GNU C Library is free software; you can redistribute it and/or
@@ -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;