diff options
author | Roland McGrath <roland@gnu.org> | 2002-08-04 03:50:21 +0000 |
---|---|---|
committer | Roland McGrath <roland@gnu.org> | 2002-08-04 03:50:21 +0000 |
commit | a14f26ef6924a6795025f4193a3567b95b339b05 (patch) | |
tree | 45ba174eb4d5d12c46ae8244fc6b6ba4a92590c9 /sysdeps/generic | |
parent | c41f555e0c91588469586cb7fef23907582b2595 (diff) | |
download | glibc-a14f26ef6924a6795025f4193a3567b95b339b05.tar.gz glibc-a14f26ef6924a6795025f4193a3567b95b339b05.tar.xz glibc-a14f26ef6924a6795025f4193a3567b95b339b05.zip |
* include/sys/resource.h: Use libc_hidden_proto for getpriority,
setpriority. * sysdeps/unix/sysv/linux/getpriority.c: Add libc_hidden_def. * sysdeps/unix/sysv/irix4/getpriority.c: Likewise. * sysdeps/mach/hurd/setpriority.c: Likewise. * sysdeps/mach/hurd/getpriority.c: Likewise. * sysdeps/generic/setpriority.c: Likewise. * sysdeps/generic/getpriority.c: Likewise. * include/mcheck.h: Use libc_hidden_proto for mcheck_check_all. * malloc/mcheck.c: Add libc_hidden_def. * include/search.h: Use libc_hidden_proto for hcreate_r, hdestroy_r. * misc/hsearch_r.c: Add libc_hidden_def. * include/fnmatch.h: Use libc_hidden_proto for fnmatch. * posix/fnmatch.c: Add libc_hidden_weak.
Diffstat (limited to 'sysdeps/generic')
-rw-r--r-- | sysdeps/generic/getpriority.c | 3 | ||||
-rw-r--r-- | sysdeps/generic/setpriority.c | 3 |
2 files changed, 4 insertions, 2 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> |