]> git.ipfire.org Git - thirdparty/glibc.git/blobdiff - resource/getrusage.c
elf: Refuse to dlopen PIE objects [BZ #24323]
[thirdparty/glibc.git] / resource / getrusage.c
index 58f121d3f388a94caefe904c80bac64af6db6af3..cb87360526c59d7e565a64166e7390dae095f993 100644 (file)
@@ -1,4 +1,4 @@
-/* Copyright (C) 1991-2014 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
@@ -21,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;