about summary refs log tree commit diff
path: root/malloc/mcheck.c
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 /malloc/mcheck.c
parentc41f555e0c91588469586cb7fef23907582b2595 (diff)
downloadglibc-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 'malloc/mcheck.c')
-rw-r--r--malloc/mcheck.c3
1 files changed, 3 insertions, 0 deletions
diff --git a/malloc/mcheck.c b/malloc/mcheck.c
index 9d9200d45d..c67636c289 100644
--- a/malloc/mcheck.c
+++ b/malloc/mcheck.c
@@ -133,6 +133,9 @@ mcheck_check_all ()
   /* Turn checks on again.  */
   pedantic = 1;
 }
+#ifdef _LIBC
+libc_hidden_def (mcheck_check_all)
+#endif
 
 static void unlink_blk __P ((struct hdr *ptr));
 static void