[PATCH] Warning fixes

Jakub Jelinek jakub@redhat.com
Thu Jan 27 17:47:00 GMT 2005


Hi!

BTW, Roland, you checked in
2005-01-25  Roland McGrath  <roland@redhat.com>

        * sysdeps/generic/syslog.c [NO_SIGPIPE]: Protect sigpipe_handler decl.
ChangeLog entry but not the actual syslog.c change to shut up that warning.

2005-01-27  Jakub Jelinek  <jakub@redhat.com>

	* stdlib/tst-fmtmsg.c: Include stdlib.h.
	* stdio-common/tst-fmemopen2.c: Include string.h.

--- libc/stdlib/tst-fmtmsg.c.jj	2005-01-26 18:22:23.000000000 +0100
+++ libc/stdlib/tst-fmtmsg.c	2005-01-27 18:10:44.184372575 +0100
@@ -1,6 +1,7 @@
 #include <fmtmsg.h>
 #include <mcheck.h>
 #include <stdio.h>
+#include <stdlib.h>
 #include <string.h>
 
 
--- libc/stdio-common/tst-fmemopen2.c.jj	2005-01-06 03:08:27.000000000 +0100
+++ libc/stdio-common/tst-fmemopen2.c	2005-01-27 18:41:32.625070471 +0100
@@ -1,5 +1,6 @@
 #include <assert.h>
 #include <stdio.h>
+#include <string.h>
 #include <sys/types.h>
 
 

	Jakub



More information about the Libc-hacker mailing list