1
0
mirror of https://sourceware.org/git/glibc.git synced 2025-07-28 00:21:52 +03:00

* 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.
This commit is contained in:
Roland McGrath
2002-08-03 12:59:33 +00:00
parent c5598d4721
commit a757607d82
9 changed files with 38 additions and 4 deletions

View File

@ -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 */