static void openlog_internal(const char *, int, int) internal_function; static void closelog_internal(void); static void sigpipe_handler (int); #ifdef _LIBC_REENTRANT static void cancel_handler (void *); #endif
openlog_internal(const char *ident, int logstat, int logfac) { if (ident != NULL) LogTag = ident; LogStat = logstat; if (logfac != 0 && (logfac &~ LOG_FACMASK) == 0) LogFacility = logfac;
static void openlog_internal(const char *, int, int) internal_function;static void closelog_internal(void);static void sigpipe_handler (int);#ifdef _LIBC_REENTRANTstatic void cancel_handler (void *);#endif/* * syslog, vsyslog -- *	print message on log file; output is intended for syslogd(8). */void#if __STDC__syslog(int pri, const char *fmt, ...)#elsesyslog(pri, fmt, va_alist)	int pri;	char *fmt;	va_dcl#endif{	va_list ap;#if __STDC__	va_start(ap, fmt);#else	va_start(ap);#endif	vsyslog(pri, fmt, ap);	va_end(ap);}