summary refs log tree commit diff
path: root/io/ttyname_r.c
diff options
context:
space:
mode:
Diffstat (limited to 'io/ttyname_r.c')
-rw-r--r--io/ttyname_r.c5
1 files changed, 1 insertions, 4 deletions
diff --git a/io/ttyname_r.c b/io/ttyname_r.c
index 50dbd67467..a57b932b94 100644
--- a/io/ttyname_r.c
+++ b/io/ttyname_r.c
@@ -22,10 +22,7 @@
 /* Store at most BUFLEN characters the pathname of the terminal FD is
    open on in BUF.  Return 0 on success,  otherwise an error number.  */
 int
-__ttyname_r (fd, buf, buflen)
-     int fd;
-     char *buf;
-     size_t buflen;
+__ttyname_r (int fd, char *buf, size_t buflen)
 {
   __set_errno (ENOSYS);
   return ENOSYS;