diff options
author | Jakub Jelinek <jakub@redhat.com> | 2005-08-08 21:34:25 +0000 |
---|---|---|
committer | Jakub Jelinek <jakub@redhat.com> | 2005-08-08 21:34:25 +0000 |
commit | a6d1003497d92df2575894474fa1d2c0ee3f39f4 (patch) | |
tree | 6665a936728da87053845bdff9ff812ee58981ec /misc/sys/syslog.h | |
parent | c633e822b473e8135a36e413c5b79d7ce5a5d1fc (diff) | |
download | glibc-a6d1003497d92df2575894474fa1d2c0ee3f39f4.tar glibc-a6d1003497d92df2575894474fa1d2c0ee3f39f4.tar.gz glibc-a6d1003497d92df2575894474fa1d2c0ee3f39f4.tar.bz2 glibc-a6d1003497d92df2575894474fa1d2c0ee3f39f4.zip |
Updated to fedora-glibc-20050808T2126
Diffstat (limited to 'misc/sys/syslog.h')
-rw-r--r-- | misc/sys/syslog.h | 10 |
1 files changed, 8 insertions, 2 deletions
diff --git a/misc/sys/syslog.h b/misc/sys/syslog.h index 5007525d85..9de7570d8a 100644 --- a/misc/sys/syslog.h +++ b/misc/sys/syslog.h @@ -188,7 +188,7 @@ extern int setlogmask (int __mask) __THROW; This function is a possible cancellation point and therefore not marked with __THROW. */ extern void syslog (int __pri, __const char *__fmt, ...) - __attribute__ ((__format__(__printf__, 2, 3))); + __attribute__ ((__format__ (__printf__, 2, 3))); #ifdef __USE_BSD /* Generate a log message using FMT and using arguments pointed to by AP. @@ -198,7 +198,13 @@ extern void syslog (int __pri, __const char *__fmt, ...) or due to the implementation it is a cancellation point and therefore not marked with __THROW. */ extern void vsyslog (int __pri, __const char *__fmt, __gnuc_va_list __ap) - __attribute__ ((__format__(__printf__, 2, 0))); + __attribute__ ((__format__ (__printf__, 2, 0))); +#endif + + +/* Define some macros helping to catch buffer overflows. */ +#if __USE_FORTIFY_LEVEL > 0 && !defined __cplusplus +# include <bits/syslog.h> #endif __END_DECLS |