diff options
author | Ulrich Drepper <drepper@redhat.com> | 2004-12-22 20:10:10 +0000 |
---|---|---|
committer | Ulrich Drepper <drepper@redhat.com> | 2004-12-22 20:10:10 +0000 |
commit | a334319f6530564d22e775935d9c91663623a1b4 (patch) | |
tree | b5877475619e4c938e98757d518bb1e9cbead751 /misc/sys/syslog.h | |
parent | 0ecb606cb6cf65de1d9fc8a919bceb4be476c602 (diff) | |
download | glibc-a334319f6530564d22e775935d9c91663623a1b4.tar.gz glibc-a334319f6530564d22e775935d9c91663623a1b4.tar.xz glibc-a334319f6530564d22e775935d9c91663623a1b4.zip |
(CFLAGS-tst-align.c): Add -mpreferred-stack-boundary=4.
Diffstat (limited to 'misc/sys/syslog.h')
-rw-r--r-- | misc/sys/syslog.h | 19 |
1 files changed, 5 insertions, 14 deletions
diff --git a/misc/sys/syslog.h b/misc/sys/syslog.h index 4ed57c2787..ace88a0979 100644 --- a/misc/sys/syslog.h +++ b/misc/sys/syslog.h @@ -36,8 +36,8 @@ #define __need___va_list #include <stdarg.h> -/* This file defines _PATH_LOG. */ -#include <bits/syslog-path.h> + +#define _PATH_LOG "/dev/log" /* * priorities/facilities are encoded into a single 32-bit quantity, where the @@ -168,7 +168,7 @@ CODE facilitynames[] = __BEGIN_DECLS -/* Close descriptor used to write to system logger. +/* Close desriptor used to write to system logger. This function is a possible cancellation point and therefore not marked with __THROW. */ @@ -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,16 +198,7 @@ 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))); -#endif - - -/* Define some macros helping to catch buffer overflows. */ -#if __USE_FORTIFY_LEVEL > 0 && !defined __cplusplus -# include <bits/syslog.h> -#endif -#ifdef __LDBL_COMPAT -# include <bits/syslog-ldbl.h> + __attribute__ ((__format__(__printf__, 2, 0))); #endif __END_DECLS |