From: Roland McGrath Date: Thu, 27 Jan 2005 20:22:06 +0000 (+0000) Subject: 2005-01-25 Roland McGrath X-Git-Tag: cvs/fedora-glibc-20050208T0948~24 X-Git-Url: http://git.ipfire.org/?a=commitdiff_plain;h=4bb51523b514bf73ce1ca9eaefe5aa597f5eb7a1;p=thirdparty%2Fglibc.git 2005-01-25 Roland McGrath * sysdeps/generic/syslog.c [NO_SIGPIPE]: Protect sigpipe_handler decl. --- diff --git a/sysdeps/generic/syslog.c b/sysdeps/generic/syslog.c index 2a1e4c4a5bb..176265c29d0 100644 --- a/sysdeps/generic/syslog.c +++ b/sysdeps/generic/syslog.c @@ -73,7 +73,9 @@ __libc_lock_define_initialized (static, syslog_lock) static void openlog_internal(const char *, int, int) internal_function; static void closelog_internal(void); +#ifndef NO_SIGPIPE static void sigpipe_handler (int); +#endif struct cleanup_arg