Fix to avoid warning
Mark Kettenis
kettenis@wins.uva.nl
Sat Feb 10 09:15:00 GMT 2001
This patch avoids a "function declaration isn't a prototype" warning
on the Hurd. Probably more fall-out from the <time.h>/<sys/time.h>
header cleanup.
Mark
2001-02-10 Mark Kettenis <kettenis@gnu.org>
* sysdeps/unix/stime.c: Include <time.h>.
Index: sysdeps/unix/stime.c
===================================================================
RCS file: /cvs/glibc/libc/sysdeps/unix/stime.c,v
retrieving revision 1.4
diff -u -p -r1.4 stime.c
--- sysdeps/unix/stime.c 2001/01/28 06:41:13 1.4
+++ sysdeps/unix/stime.c 2001/02/10 17:13:54
@@ -19,6 +19,7 @@
#include <errno.h>
#include <stddef.h> /* For NULL. */
#include <sys/time.h>
+#include <time.h>
/* Set the system clock to *WHEN. */
More information about the Libc-hacker
mailing list