This is the mail archive of the
libc-alpha@sources.redhat.com
mailing list for the glibc project.
sysdeps/generic/syslog.c
- From: "Alfred M. Szmidt" <ams at kemisten dot nu>
- To: libc-alpha at sources dot redhat dot com
- Date: Wed, 02 Feb 2005 20:36:36 +0100
- Subject: sysdeps/generic/syslog.c
- Reply-to: ams at kemisten dot nu
Define a default value for send_flags if nothing was defined.
2005-02-02 Alfred M. Szmidt <ams@gnu.org>
* sysdeps/generic/syslog.c (send_flags) [!send_flags]: Define it.
Index: sysdeps/generic/syslog.c
===================================================================
RCS file: /cvsroot/libc/libc/sysdeps/generic/syslog.c,v
retrieving revision 1.2
diff -u -r1.2 syslog.c
--- sysdeps/generic/syslog.c 27 Jan 2005 20:22:06 -0000 1.2
+++ sysdeps/generic/syslog.c 2 Feb 2005 19:28:55 -0000
@@ -77,6 +77,9 @@
static void sigpipe_handler (int);
#endif
+#ifndef send_flags
+# define send_flags 0
+#endif
struct cleanup_arg
{