From 4bb51523b514bf73ce1ca9eaefe5aa597f5eb7a1 Mon Sep 17 00:00:00 2001 From: Roland McGrath Date: Thu, 27 Jan 2005 20:22:06 +0000 Subject: 2005-01-25 Roland McGrath * sysdeps/generic/syslog.c [NO_SIGPIPE]: Protect sigpipe_handler decl. --- sysdeps/generic/syslog.c | 2 ++ 1 file changed, 2 insertions(+) (limited to 'sysdeps') diff --git a/sysdeps/generic/syslog.c b/sysdeps/generic/syslog.c index 2a1e4c4..176265c 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 -- cgit v1.1