diff options
Diffstat (limited to 'misc/sys/syslog.h')
-rw-r--r-- | misc/sys/syslog.h | 14 |
1 files changed, 7 insertions, 7 deletions
diff --git a/misc/sys/syslog.h b/misc/sys/syslog.h index 143f946bd4..a2b720909a 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 |