summaryrefslogtreecommitdiff
path: root/include/sys/syslog.h
diff options
context:
space:
mode:
authorDenis Vlasenko <vda.linux@googlemail.com>2008-11-20 22:11:44 +0000
committerDenis Vlasenko <vda.linux@googlemail.com>2008-11-20 22:11:44 +0000
commitcb97aadebfeba7f5e8f1b85beee5ab10e88c2990 (patch)
treef5f56f2ef0f3048325419857d0b538135524ff8c /include/sys/syslog.h
parentb133fe1cac9f99b63ea56daf92caa1423b1289d0 (diff)
Last portion of libc_hidden_proto removal.
Appears to build fine (several .configs tried)
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