summaryrefslogtreecommitdiff
path: root/io/ttyname_r.c
diff options
context:
space:
mode:
Diffstat (limited to 'io/ttyname_r.c')
-rw-r--r--io/ttyname_r.c7
1 files changed, 2 insertions, 5 deletions
diff --git a/io/ttyname_r.c b/io/ttyname_r.c
index 50dbd67467..6462b1ff87 100644
--- a/io/ttyname_r.c
+++ b/io/ttyname_r.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
@@ -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;