aboutsummaryrefslogtreecommitdiff
path: root/include
diff options
context:
space:
mode:
authorRoland McGrath <roland@gnu.org>2002-08-04 03:50:21 +0000
committerRoland McGrath <roland@gnu.org>2002-08-04 03:50:21 +0000
commita14f26ef6924a6795025f4193a3567b95b339b05 (patch)
tree45ba174eb4d5d12c46ae8244fc6b6ba4a92590c9 /include
parentc41f555e0c91588469586cb7fef23907582b2595 (diff)
downloadglibc-a14f26ef6924a6795025f4193a3567b95b339b05.zip
glibc-a14f26ef6924a6795025f4193a3567b95b339b05.tar.gz
glibc-a14f26ef6924a6795025f4193a3567b95b339b05.tar.bz2
* 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 'include')
-rw-r--r--include/fnmatch.h6
-rw-r--r--include/mcheck.h1
-rw-r--r--include/search.h2
-rw-r--r--include/sys/resource.h3
4 files changed, 12 insertions, 0 deletions
diff --git a/include/fnmatch.h b/include/fnmatch.h
index b12b786..2cdad0a 100644
--- a/include/fnmatch.h
+++ b/include/fnmatch.h
@@ -1 +1,7 @@
+#ifndef _FNMATCH_H
+
#include <posix/fnmatch.h>
+
+libc_hidden_proto (fnmatch)
+
+#endif
diff --git a/include/mcheck.h b/include/mcheck.h
index aa91d87..b0037a7 100644
--- a/include/mcheck.h
+++ b/include/mcheck.h
@@ -3,5 +3,6 @@
#include <malloc/mcheck.h>
libc_hidden_proto (mcheck)
+libc_hidden_proto (mcheck_check_all)
#endif
diff --git a/include/search.h b/include/search.h
index 60bb59a..e82f028 100644
--- a/include/search.h
+++ b/include/search.h
@@ -1,6 +1,8 @@
#ifndef _SEARCH_H
#include <misc/search.h>
+libc_hidden_proto (hcreate_r)
+libc_hidden_proto (hdestroy_r)
libc_hidden_proto (hsearch_r)
libc_hidden_proto (lfind)
diff --git a/include/sys/resource.h b/include/sys/resource.h
index 8877b35..f9b819d 100644
--- a/include/sys/resource.h
+++ b/include/sys/resource.h
@@ -1,6 +1,9 @@
#ifndef _SYS_RESOURCE_H
#include <resource/sys/resource.h>
+libc_hidden_proto (getpriority)
+libc_hidden_proto (setpriority)
+
/* Now define the internal interfaces. */
extern int __getrlimit (enum __rlimit_resource __resource,
struct rlimit *__rlimits);