]> git.ipfire.org Git - thirdparty/glibc.git/blobdiff - login/ptsname.c
iconv, localedef: avoid floating point rounding differences [BZ #24372]
[thirdparty/glibc.git] / login / ptsname.c
index 9536b056983d26c5ea2e3176b0a6cc2cea47262c..0149c987406836a67bb834764e6e57168e50ea36 100644 (file)
@@ -1,4 +1,4 @@
-/* Copyright (C) 1998-2015 Free Software Foundation, Inc.
+/* Copyright (C) 1998-2019 Free Software Foundation, Inc.
    This file is part of the GNU C Library.
    Contributed by Zack Weinberg <zack@rabi.phys.columbia.edu>, 1998.
 
    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;