Author: ru
Date: Wed Dec 14 08:35:08 2011
New Revision: 228492
URL: http://svn.freebsd.org/changeset/base/228492

Log:
  Clean up includes; the prototype for getosreldate() has moved to
  <unistd.h> in r183390.

Modified:
  head/lib/libc/gen/getosreldate.c

Modified: head/lib/libc/gen/getosreldate.c
==============================================================================
--- head/lib/libc/gen/getosreldate.c    Wed Dec 14 05:34:23 2011        
(r228491)
+++ head/lib/libc/gen/getosreldate.c    Wed Dec 14 08:35:08 2011        
(r228492)
@@ -33,12 +33,11 @@ static char sccsid[] = "@(#)gethostid.c     
 #include <sys/cdefs.h>
 __FBSDID("$FreeBSD$");
 
-#include <sys/param.h>
+#include <sys/types.h>
 #include <sys/sysctl.h>
-#include <errno.h>
-#include <stdlib.h>
 
-#include <osreldate.h>
+#include <stdlib.h>
+#include <unistd.h>
 
 int
 getosreldate(void)
_______________________________________________
svn-src-head@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/svn-src-head
To unsubscribe, send any mail to "svn-src-head-unsubscr...@freebsd.org"

Reply via email to