about summary refs log tree commit diff
path: root/misc/syslog.c
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 /misc/syslog.c
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 'misc/syslog.c')
-rw-r--r--misc/syslog.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/misc/syslog.c b/misc/syslog.c
index 10a830969c..c27671fecb 100644
--- a/misc/syslog.c
+++ b/misc/syslog.c
@@ -102,6 +102,7 @@ syslog(pri, fmt, va_alist)
 	vsyslog(pri, fmt, ap);
 	va_end(ap);
 }
+libc_hidden_def (syslog)
 
 void
 vsyslog(pri, fmt, ap)
@@ -278,6 +279,7 @@ vsyslog(pri, fmt, ap)
 
 	free (buf);
 }
+libc_hidden_def (vsyslog)
 
 static struct sockaddr SyslogAddr;	/* AF_UNIX address of local logger */