Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 2 Dec 2009 20:24:37 +0000 (UTC)
From:      Marcel Moolenaar <marcel@FreeBSD.org>
To:        src-committers@freebsd.org, svn-src-all@freebsd.org, svn-src-head@freebsd.org
Subject:   svn commit: r200045 - head/sys/dev/iir
Message-ID:  <200912022024.nB2KOblx088615@svn.freebsd.org>

next in thread | raw e-mail | index | archive | help
Author: marcel
Date: Wed Dec  2 20:24:37 2009
New Revision: 200045
URL: http://svn.freebsd.org/changeset/base/200045

Log:
  Include <sys/sysctl.h>, to get the declarations of ostype and
  osrelease. Remove the duplicate declarations from this file.

Modified:
  head/sys/dev/iir/iir_ctrl.c

Modified: head/sys/dev/iir/iir_ctrl.c
==============================================================================
--- head/sys/dev/iir/iir_ctrl.c	Wed Dec  2 19:30:33 2009	(r200044)
+++ head/sys/dev/iir/iir_ctrl.c	Wed Dec  2 20:24:37 2009	(r200045)
@@ -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;
 
 /*



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200912022024.nB2KOblx088615>