2005-01-25 Roland McGrath <roland@redhat.com>
authorRoland McGrath <roland@gnu.org>
Thu, 27 Jan 2005 20:22:06 +0000 (20:22 +0000)
committerRoland McGrath <roland@gnu.org>
Thu, 27 Jan 2005 20:22:06 +0000 (20:22 +0000)
* sysdeps/generic/syslog.c [NO_SIGPIPE]: Protect sigpipe_handler decl.

sysdeps/generic/syslog.c

index 2a1e4c4..176265c 100644 (file)
@@ -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