summaryrefslogtreecommitdiff
path: root/login/ptsname.c
diff options
context:
space:
mode:
Diffstat (limited to 'login/ptsname.c')
-rw-r--r--login/ptsname.c12
1 files changed, 5 insertions, 7 deletions
diff --git a/login/ptsname.c b/login/ptsname.c
index 9536b05698..dacc8a7c12 100644
--- a/login/ptsname.c
+++ b/login/ptsname.c
@@ -1,4 +1,4 @@
-/* Copyright (C) 1998-2015 Free Software Foundation, Inc.
+/* Copyright (C) 1998-2016 Free Software Foundation, Inc.
This file is part of the GNU C Library.
Contributed by Zack Weinberg <zack@rabi.phys.columbia.edu>, 1998.
@@ -24,18 +24,16 @@
of the associated slave. */
char *
-ptsname (fd)
- int fd __attribute__ ((unused));
+ptsname (int fd __attribute__ ((unused)))
{
__set_errno (ENOSYS);
return NULL;
}
int
-__ptsname_r (fd, buf, len)
- int fd __attribute__ ((unused));
- char *buf __attribute__ ((unused));
- size_t len __attribute__ ((unused));
+__ptsname_r (int fd __attribute__ ((unused)),
+ char *buf __attribute__ ((unused)),
+ size_t len __attribute__ ((unused)))
{
__set_errno (ENOSYS);
return ENOSYS;