From 6073486300a2c7430d184a9a41ad42bcb0c4345c Mon Sep 17 00:00:00 2001 From: bde Date: Sat, 4 Nov 1995 17:08:13 +0000 Subject: Added `#include "ioconf.h"' to and cleaned up the misplaced extern declarations (mostly prototypes of interrupt handlers) that this exposed. The prototypes should be moved back to the driver sources when the functions are staticalized. Added idempotency guards to . "ioconf.h" can't be included when building LKMs so define a wart in bsd.kmod.mk to help guard against including it. --- sys/dev/fdc/fdc.c | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) (limited to 'sys/dev/fdc') diff --git a/sys/dev/fdc/fdc.c b/sys/dev/fdc/fdc.c index 150e692..5a2c861 100644 --- a/sys/dev/fdc/fdc.c +++ b/sys/dev/fdc/fdc.c @@ -43,7 +43,7 @@ * SUCH DAMAGE. * * from: @(#)fd.c 7.4 (Berkeley) 5/25/91 - * $Id: fd.c,v 1.67 1995/10/28 15:38:57 phk Exp $ + * $Id: fd.c,v 1.68 1995/11/04 13:23:34 bde Exp $ * */ @@ -274,7 +274,6 @@ static int fdattach(struct isa_device *); /* exported functions */ int fdsize (dev_t); -void fdintr(fdcu_t); /* needed for ft driver, thus exported */ int in_fdc(fdcu_t); -- cgit v1.1