diff options
Diffstat (limited to 'sysdeps')
-rw-r--r-- | sysdeps/generic/getpriority.c | 3 | ||||
-rw-r--r-- | sysdeps/generic/setpriority.c | 3 | ||||
-rw-r--r-- | sysdeps/mach/hurd/getpriority.c | 1 | ||||
-rw-r--r-- | sysdeps/mach/hurd/setpriority.c | 1 | ||||
-rw-r--r-- | sysdeps/unix/sysv/irix4/getpriority.c | 3 | ||||
-rw-r--r-- | sysdeps/unix/sysv/linux/getpriority.c | 3 |
6 files changed, 10 insertions, 4 deletions
diff --git a/sysdeps/generic/getpriority.c b/sysdeps/generic/getpriority.c index 1ea8e259e6..501c92a08a 100644 --- a/sysdeps/generic/getpriority.c +++ b/sysdeps/generic/getpriority.c @@ -1,4 +1,4 @@ -/* Copyright (C) 1991, 1995, 1996, 1997, 2000 Free Software Foundation, Inc. +/* Copyright (C) 1991,95,96,97,2000,02 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 @@ -31,6 +31,7 @@ getpriority (which, who) __set_errno (ENOSYS); return -1; } +libc_hidden_def (getpriority) stub_warning (getpriority) #include <stub-tag.h> diff --git a/sysdeps/generic/setpriority.c b/sysdeps/generic/setpriority.c index ca183899d1..b2e6f8a059 100644 --- a/sysdeps/generic/setpriority.c +++ b/sysdeps/generic/setpriority.c @@ -1,4 +1,4 @@ -/* Copyright (C) 1991, 1995, 1996, 1997, 2000 Free Software Foundation, Inc. +/* Copyright (C) 1991,95,96,97,2000,02 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 @@ -30,6 +30,7 @@ setpriority (which, who, prio) __set_errno (ENOSYS); return -1; } +libc_hidden_def (setpriority) stub_warning (setpriority) #include <stub-tag.h> diff --git a/sysdeps/mach/hurd/getpriority.c b/sysdeps/mach/hurd/getpriority.c index 9fede4d2f0..8f7c3c6d97 100644 --- a/sysdeps/mach/hurd/getpriority.c +++ b/sysdeps/mach/hurd/getpriority.c @@ -82,3 +82,4 @@ getpriority (enum __priority_which which, id_t who) return MACH_PRIORITY_TO_NICE (maxpri); } +libc_hidden_def (getpriority) diff --git a/sysdeps/mach/hurd/setpriority.c b/sysdeps/mach/hurd/setpriority.c index ab713bd036..bf739aa09a 100644 --- a/sysdeps/mach/hurd/setpriority.c +++ b/sysdeps/mach/hurd/setpriority.c @@ -95,3 +95,4 @@ setpriority (enum __priority_which which, id_t who, int prio) return err ? __hurd_fail (err) : 0; } +libc_hidden_def (setpriority) diff --git a/sysdeps/unix/sysv/irix4/getpriority.c b/sysdeps/unix/sysv/irix4/getpriority.c index 9fc2be963e..baf945e54c 100644 --- a/sysdeps/unix/sysv/irix4/getpriority.c +++ b/sysdeps/unix/sysv/irix4/getpriority.c @@ -1,4 +1,4 @@ -/* Copyright (C) 1994, 1996, 1997, 2000 Free Software Foundation, Inc. +/* Copyright (C) 1994,96,97,2000,02 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 @@ -44,3 +44,4 @@ getpriority (which, who) __set_errno (EINVAL); return -1; } +libc_hidden_def (getpriority) diff --git a/sysdeps/unix/sysv/linux/getpriority.c b/sysdeps/unix/sysv/linux/getpriority.c index 809f0c1623..56796ed81c 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, 1998, 2000 Free Software Foundation, Inc. + Copyright (C) 1996,98,2000,02 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 @@ -44,3 +44,4 @@ getpriority (enum __priority_which which, id_t who) res = PZERO - res; return res; } +libc_hidden_def (getpriority) |