diff options
Diffstat (limited to 'sysdeps/unix/sysv/linux/getpriority.c')
-rw-r--r-- | sysdeps/unix/sysv/linux/getpriority.c | 6 |
1 files changed, 2 insertions, 4 deletions
diff --git a/sysdeps/unix/sysv/linux/getpriority.c b/sysdeps/unix/sysv/linux/getpriority.c index 56796ed81c..23da8495f0 100644 --- a/sysdeps/unix/sysv/linux/getpriority.c +++ b/sysdeps/unix/sysv/linux/getpriority.c @@ -1,5 +1,5 @@ /* getpriority for Linux. - Copyright (C) 1996,98,2000,02 Free Software Foundation, Inc. + Copyright (C) 1996,98,2000,02,03 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 @@ -23,9 +23,7 @@ #include <sysdep.h> #include <sys/syscall.h> -extern int __syscall_getpriority (int, id_t); - -/* The return value of __syscall_getpriority is biased by this value +/* The return value of getpriority syscall is biased by this value to avoid returning negative values. */ #define PZERO 20 |