]> git.ipfire.org Git - thirdparty/glibc.git/blobdiff - resource/getpriority.c
Update copyright dates with scripts/update-copyrights.
[thirdparty/glibc.git] / resource / getpriority.c
index 501c92a08a6332656a85337196c01e8c9058e2a6..fb3930d3a318337d672ab88d71a6f0b64fef84f1 100644 (file)
@@ -1,4 +1,4 @@
-/* Copyright (C) 1991,95,96,97,2000,02 Free Software Foundation, Inc.
+/* Copyright (C) 1991-2018 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
+   <http://www.gnu.org/licenses/>.  */
 
 #include <errno.h>
 #include <sys/resource.h>
    or user (as specified by WHO) is used.  A lower priority number means higher
    priority.  Priorities range from PRIO_MIN to PRIO_MAX.  */
 int
-getpriority (which, who)
-     enum __priority_which which;
-     id_t who;
+__getpriority (enum __priority_which which, id_t who)
 {
   __set_errno (ENOSYS);
   return -1;
 }
-libc_hidden_def (getpriority)
+libc_hidden_def (__getpriority)
+weak_alias (__getpriority, getpriority)
 
 stub_warning (getpriority)
-#include <stub-tag.h>