about summary refs log tree commit diff
path: root/include
diff options
context:
space:
mode:
authorRoland McGrath <roland@gnu.org>2002-08-03 12:59:33 +0000
committerRoland McGrath <roland@gnu.org>2002-08-03 12:59:33 +0000
commita757607d82e91654986355a6509b6c3e7cc7c0b8 (patch)
tree1a3be4c5a6c5014410426dec6d9c15bf98fd9556 /include
parentc5598d4721655c8654e3f419d12b671e2a92c0ce (diff)
downloadglibc-a757607d82e91654986355a6509b6c3e7cc7c0b8.tar.gz
glibc-a757607d82e91654986355a6509b6c3e7cc7c0b8.tar.xz
glibc-a757607d82e91654986355a6509b6c3e7cc7c0b8.zip
* include/sys/syslog.h: Use libc_hidden_proto for syslog, vsyslog.
	* include/err.h: Use libc_hidden_proto for warn, warnx, vwarn, vwarn,
	verr, verrx.
	* include/stdlib.h: Use libc_hidden_proto for exit, getenv, bsearch.
	* misc/syslog.c: Add libc_hidden_def.
	* misc/err.c: Likewise.
	* stdlib/exit.c: Likewise.
	* stdlib/bsearch.c: Likewise.
	* sysdeps/generic/getenv.c: Likewise.
Diffstat (limited to 'include')
-rw-r--r--include/err.h7
-rw-r--r--include/stdlib.h3
-rw-r--r--include/sys/syslog.h3
3 files changed, 13 insertions, 0 deletions
diff --git a/include/err.h b/include/err.h
index 915720aa4c..737dfc1b6f 100644
--- a/include/err.h
+++ b/include/err.h
@@ -1 +1,8 @@
 #include <misc/err.h>
+
+libc_hidden_proto (warn)
+libc_hidden_proto (warnx)
+libc_hidden_proto (vwarn)
+libc_hidden_proto (vwarnx)
+libc_hidden_proto (verr)
+libc_hidden_proto (verrx)
diff --git a/include/stdlib.h b/include/stdlib.h
index ad9ea8e0e7..39629e1f6b 100644
--- a/include/stdlib.h
+++ b/include/stdlib.h
@@ -9,6 +9,9 @@
 /* Now define the internal interfaces.  */
 #ifndef __Need_M_And_C
 
+libc_hidden_proto (exit)
+libc_hidden_proto (getenv)
+libc_hidden_proto (bsearch)
 libc_hidden_proto (__secure_getenv)
 
 extern long int __random (void);
diff --git a/include/sys/syslog.h b/include/sys/syslog.h
index 247528b430..e018225333 100644
--- a/include/sys/syslog.h
+++ b/include/sys/syslog.h
@@ -1 +1,4 @@
 #include <misc/sys/syslog.h>
+
+libc_hidden_proto (syslog)
+libc_hidden_proto (vsyslog)