]> git.ipfire.org Git - thirdparty/glibc.git/blobdiff - posix/pause.c
nptl: Move pthread_attr_setinheritsched implementation into libc.
[thirdparty/glibc.git] / posix / pause.c
index af239bec76a3fbdce8ddc844f6e501abd9c89b9e..5a5056b64ac7575920eb53c13cb9b1906b4be29a 100644 (file)
@@ -1,4 +1,4 @@
-/* Copyright (C) 1991, 1996, 1997 Free Software Foundation, Inc.
+/* Copyright (C) 1991-2019 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 <unistd.h>
    This is supposed to always return -1 and set errno to EINTR,
    but rules were meant to be broken.  */
 int
-pause ()
+pause (void)
 {
   __set_errno (ENOSYS);
   return -1;
 }
 
 stub_warning (pause)
-#include <stub-tag.h>