]> git.ipfire.org Git - thirdparty/glibc.git/blobdiff - io/ttyname.c
Fix BRE typos in check-safety.sh
[thirdparty/glibc.git] / io / ttyname.c
index 5473b5e04b2e27147f0ed3044fbfb8e2dc6ffccb..9b88fe84ea398a1befe3c46d20ee4d9e86d23d38 100644 (file)
@@ -1,4 +1,4 @@
-/* Copyright (C) 1991, 1995, 1996, 1997 Free Software Foundation, Inc.
+/* Copyright (C) 1991-2022 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
@@ -13,7 +13,7 @@
 
    You should have received a copy of the GNU Lesser General Public
    License along with the GNU C Library; if not, see
-   <http://www.gnu.org/licenses/>.  */
+   <https://www.gnu.org/licenses/>.  */
 
 #include <errno.h>
 #include <stddef.h>
@@ -25,8 +25,7 @@ char *__ttyname = NULL;
 /* Return the pathname of the terminal FD is open on, or NULL on errors.
    The returned storage is good only until the next call to this function.  */
 char *
-ttyname (fd)
-     int fd;
+ttyname (int fd)
 {
   __set_errno (ENOSYS);
   return NULL;
@@ -34,4 +33,3 @@ ttyname (fd)
 
 
 stub_warning (ttyname)
-#include <stub-tag.h>