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

Note that libc-hacker is a closed list. You may look at the archives of this list, but subscription and posting are not open.


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

Fix to avoid warning


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.  */
 


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