From 544beb570510a6d942afca887af9919b5c83a248 Mon Sep 17 00:00:00 2001 From: nate Date: Tue, 7 Jan 1997 15:36:34 +0000 Subject: > The extra include of is because apm uses microtime() and my > doesn't include > > I removed the NAPM check since it's wasteful to check twice. apmprobe() > checks the unit number, and that's the right check. Submitted by: bde --- sys/i386/apm/apm.c | 13 ++----------- sys/i386/bios/apm.c | 13 ++----------- 2 files changed, 4 insertions(+), 22 deletions(-) (limited to 'sys') diff --git a/sys/i386/apm/apm.c b/sys/i386/apm/apm.c index ea1929d..bc4f694 100644 --- a/sys/i386/apm/apm.c +++ b/sys/i386/apm/apm.c @@ -14,14 +14,9 @@ * * Sep, 1994 Implemented on FreeBSD 1.1.5.1R (Toshiba AVS001WD) * - * $Id: apm.c,v 1.49 1996/09/07 17:41:22 nate Exp $ + * $Id: apm.c,v 1.50 1997/01/06 06:01:45 nate Exp $ */ -#include "apm.h" -#if NAPM > 1 -#error only one APM device may be configured -#endif - #include #include #include @@ -29,11 +24,7 @@ #include #endif /*DEVFS*/ #include -#include -#include -#include -#include -#include +#include #include #include #include diff --git a/sys/i386/bios/apm.c b/sys/i386/bios/apm.c index ea1929d..bc4f694 100644 --- a/sys/i386/bios/apm.c +++ b/sys/i386/bios/apm.c @@ -14,14 +14,9 @@ * * Sep, 1994 Implemented on FreeBSD 1.1.5.1R (Toshiba AVS001WD) * - * $Id: apm.c,v 1.49 1996/09/07 17:41:22 nate Exp $ + * $Id: apm.c,v 1.50 1997/01/06 06:01:45 nate Exp $ */ -#include "apm.h" -#if NAPM > 1 -#error only one APM device may be configured -#endif - #include #include #include @@ -29,11 +24,7 @@ #include #endif /*DEVFS*/ #include -#include -#include -#include -#include -#include +#include #include #include #include -- cgit v1.1