summaryrefslogtreecommitdiff
path: root/include/sys/syslog.h
diff options
context:
space:
mode:
Diffstat (limited to 'include/sys/syslog.h')
-rw-r--r--include/sys/syslog.h4
1 files changed, 4 insertions, 0 deletions
diff --git a/include/sys/syslog.h b/include/sys/syslog.h
index 3f5e6b297..8fc768846 100644
--- a/include/sys/syslog.h
+++ b/include/sys/syslog.h
@@ -179,12 +179,14 @@ __BEGIN_DECLS
This function is a possible cancellation point and therefore not
marked with __THROW. */
extern void closelog (void);
+libc_hidden_proto(closelog)
/* Open connection to system logger.
This function is a possible cancellation point and therefore not
marked with __THROW. */
extern void openlog (__const char *__ident, int __option, int __facility);
+libc_hidden_proto(openlog)
/* Set the log mask level. */
extern int setlogmask (int __mask) __THROW;
@@ -195,6 +197,7 @@ extern int setlogmask (int __mask) __THROW;
marked with __THROW. */
extern void syslog (int __pri, __const char *__fmt, ...)
__attribute__ ((__format__ (__printf__, 2, 3)));
+libc_hidden_proto(syslog)
#ifdef __USE_BSD
/* Generate a log message using FMT and using arguments pointed to by AP.
@@ -205,6 +208,7 @@ extern void syslog (int __pri, __const char *__fmt, ...)
therefore not marked with __THROW. */
extern void vsyslog (int __pri, __const char *__fmt, __gnuc_va_list __ap)
__attribute__ ((__format__ (__printf__, 2, 0)));
+libc_hidden_proto(vsyslog)
#endif
__END_DECLS