]> git.ipfire.org Git - thirdparty/glibc.git/blobdiff - resource/getrusage.c
Prefer https to http for gnu.org and fsf.org URLs
[thirdparty/glibc.git] / resource / getrusage.c
index c679855acee58173c4893fb420b60a1d9a7e5453..aea9bbb9dddfdd15b50302b9eccd7a5afe647482 100644 (file)
@@ -1,4 +1,4 @@
-/* Copyright (C) 1991, 1995, 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
@@ -12,9 +12,8 @@
    Lesser General Public License for more details.
 
    You should have received a copy of the GNU Lesser General Public
-   License along with the GNU C Library; if not, write to the Free
-   Software Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA
-   02111-1307 USA.  */
+   License along with the GNU C Library; if not, see
+   <https://www.gnu.org/licenses/>.  */
 
 #include <sys/resource.h>
 #include <errno.h>
@@ -22,9 +21,7 @@
 /* Return resource usage information on process indicated by WHO
    and put it in *USAGE.  Returns 0 for success, -1 for failure.  */
 int
-__getrusage (who, usage)
-     enum __rusage_who who;
-     struct rusage *usage;
+__getrusage (enum __rusage_who who, struct rusage *usage)
 {
   __set_errno (ENOSYS);
   return -1;
@@ -32,4 +29,3 @@ __getrusage (who, usage)
 stub_warning (getrusage)
 
 weak_alias (__getrusage, getrusage)
-#include <stub-tag.h>