svn commit: r228492 - head/lib/libc/gen
Ruslan Ermilov
ru at FreeBSD.org
Wed Dec 14 08:35:09 UTC 2011
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)
More information about the svn-src-head
mailing list