aboutsummaryrefslogtreecommitdiff
path: root/misc/sys/syslog.h
diff options
context:
space:
mode:
authorUlrich Drepper <drepper@redhat.com>1999-10-09 21:56:43 +0000
committerUlrich Drepper <drepper@redhat.com>1999-10-09 21:56:43 +0000
commitc1422e5b7cdb4400f934c91bcefa3a1a96d789fb (patch)
tree7f8981b86c4ce4b5bb899f690eeb03d6645826a5 /misc/sys/syslog.h
parenta4a1492eb94de4f5c5ec84a5898e994fca5f317b (diff)
downloadglibc-c1422e5b7cdb4400f934c91bcefa3a1a96d789fb.zip
glibc-c1422e5b7cdb4400f934c91bcefa3a1a96d789fb.tar.gz
glibc-c1422e5b7cdb4400f934c91bcefa3a1a96d789fb.tar.bz2
Update.
Patch by khendricks@ivey.uwo.ca [libc/1382].
Diffstat (limited to 'misc/sys/syslog.h')
-rw-r--r--misc/sys/syslog.h14
1 files changed, 7 insertions, 7 deletions
diff --git a/misc/sys/syslog.h b/misc/sys/syslog.h
index 143f946..a2b7209 100644
--- a/misc/sys/syslog.h
+++ b/misc/sys/syslog.h
@@ -169,22 +169,22 @@ CODE facilitynames[] =
__BEGIN_DECLS
/* Close desriptor used to write to system logger. */
-extern void closelog __P ((void));
+extern void closelog (void) __THROW;
/* Open connection to system logger. */
-extern void openlog __P ((__const char *__ident, int __option,
- int __facility));
+extern void openlog (__const char *__ident, int __option, int __facility)
+ __THROW;
/* Set the log mask level. */
-extern int setlogmask __P ((int __mask));
+extern int setlogmask (int __mask) __THROW;
/* Generate a log message using FMT string and option arguments. */
-extern void syslog __P ((int __pri, __const char *__fmt, ...));
+extern void syslog (int __pri, __const char *__fmt, ...) __THROW;
#ifdef __USE_BSD
/* Generate a log message using FMT and using arguments pointed to by AP. */
-extern void vsyslog __P ((int __pri, __const char *__fmt,
- __gnuc_va_list __ap));
+extern void vsyslog (int __pri, __const char *__fmt, __gnuc_va_list __ap)
+ __THROW;
#endif
__END_DECLS