Author: marcel Date: Sat Dec 12 04:34:22 2009 New Revision: 200429 URL: http://svn.freebsd.org/changeset/base/200429
Log: MFC rev 200045: Include <sys/sysctl.h>, to get the declarations of ostype and osrelease. Remove the duplicate declarations from this file. Modified: stable/8/sys/dev/iir/iir_ctrl.c Directory Properties: stable/8/sys/ (props changed) stable/8/sys/amd64/include/xen/ (props changed) stable/8/sys/cddl/contrib/opensolaris/ (props changed) stable/8/sys/contrib/dev/acpica/ (props changed) stable/8/sys/contrib/pf/ (props changed) stable/8/sys/dev/xen/xenpci/ (props changed) Modified: stable/8/sys/dev/iir/iir_ctrl.c ============================================================================== --- stable/8/sys/dev/iir/iir_ctrl.c Sat Dec 12 03:35:49 2009 (r200428) +++ stable/8/sys/dev/iir/iir_ctrl.c Sat Dec 12 04:34:22 2009 (r200429) @@ -51,6 +51,7 @@ __FBSDID("$FreeBSD$"); #include <sys/disk.h> #include <sys/stat.h> #include <sys/disklabel.h> +#include <sys/sysctl.h> #include <machine/bus.h> #include <dev/iir/iir.h> @@ -83,8 +84,6 @@ static int iir_devsw_installed = 0; static int sdev_made = 0; #endif extern int gdt_cnt; -extern char ostype[]; -extern char osrelease[]; extern gdt_statist_t gdt_stat; /* _______________________________________________ svn-src-all@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/svn-src-all To unsubscribe, send any mail to "svn-src-all-unsubscr...@freebsd.org"