Date: Wed, 14 Dec 2011 08:35:09 +0000 (UTC) From: Ruslan Ermilov <ru@FreeBSD.org> To: src-committers@freebsd.org, svn-src-all@freebsd.org, svn-src-head@freebsd.org Subject: svn commit: r228492 - head/lib/libc/gen Message-ID: <201112140835.pBE8Z9Ke089503@svn.freebsd.org>
next in thread | raw e-mail | index | archive | help
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)
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201112140835.pBE8Z9Ke089503>