summary refs log tree commit diff
path: root/sysdeps
diff options
context:
space:
mode:
authorRoland McGrath <roland@gnu.org>2005-01-27 20:22:06 +0000
committerRoland McGrath <roland@gnu.org>2005-01-27 20:22:06 +0000
commit4bb51523b514bf73ce1ca9eaefe5aa597f5eb7a1 (patch)
tree68765f94ac8f75f3500c47bdda9da465aa5a9281 /sysdeps
parent963d8d782fc98fb6dc3a66f0068795f9920c269d (diff)
downloadglibc-4bb51523b514bf73ce1ca9eaefe5aa597f5eb7a1.tar.gz
glibc-4bb51523b514bf73ce1ca9eaefe5aa597f5eb7a1.tar.xz
glibc-4bb51523b514bf73ce1ca9eaefe5aa597f5eb7a1.zip
2005-01-25 Roland McGrath <roland@redhat.com>
	* sysdeps/generic/syslog.c [NO_SIGPIPE]: Protect sigpipe_handler decl.
Diffstat (limited to 'sysdeps')
-rw-r--r--sysdeps/generic/syslog.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/sysdeps/generic/syslog.c b/sysdeps/generic/syslog.c
index 2a1e4c4a5b..176265c29d 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