about summary refs log tree commit diff
path: root/login/ptsname.c
diff options
context:
space:
mode:
Diffstat (limited to 'login/ptsname.c')
-rw-r--r--login/ptsname.c10
1 files changed, 4 insertions, 6 deletions
diff --git a/login/ptsname.c b/login/ptsname.c
index 9536b05698..4fe138d5b0 100644
--- a/login/ptsname.c
+++ b/login/ptsname.c
@@ -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;