]> git.ipfire.org Git - thirdparty/glibc.git/commitdiff
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 2a1e4c4a5bb7cf00c248d376b57028672beb9b40..176265c29d07d370cbad1b73968d1d98d6b4a3c7 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