This is the mail archive of the libc-alpha@sources.redhat.com mailing list for the glibc project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

sysdeps/generic/syslog.c


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
 {


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]