]> git.ipfire.org Git - thirdparty/glibc.git/blobdiff - io/utime.c
Fix BRE typos in check-safety.sh
[thirdparty/glibc.git] / io / utime.c
index 865628f5a34149349387b3a6f358d2b61c4b7adc..ec12cddacbbba1488e9d06bf5861bea070faf52e 100644 (file)
@@ -1,4 +1,5 @@
-/* Copyright (C) 1991,95,96,97,2002 Free Software Foundation, Inc.
+/* utime -- change access and modification times of file.  Stub version.
+   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 +14,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>
@@ -23,9 +24,7 @@
 /* Set the access and modification times of FILE to those given in TIMES.
    If TIMES is NULL, set them to the current time.  */
 int
-utime (file, times)
-     const char *file;
-     const struct utimbuf *times;
+utime (const char *file, const struct utimbuf *times)
 {
   if (file == NULL)
     {
@@ -39,4 +38,3 @@ utime (file, times)
 libc_hidden_def (utime)
 
 stub_warning (utime)
-#include <stub-tag.h>