From 2dca18f1595c79b3217df986748704ecd5ed9223 Mon Sep 17 00:00:00 2001 From: Bruce Evans Date: Sat, 22 Nov 1997 06:45:57 +0000 Subject: [PATCH] Ifdefed a conditionally used #include. Staticized. --- sys/dev/de/if_de.c | 6 ++++-- sys/pci/if_de.c | 6 ++++-- 2 files changed, 8 insertions(+), 4 deletions(-) diff --git a/sys/dev/de/if_de.c b/sys/dev/de/if_de.c index 224942534b57..2ca1d6455b05 100644 --- a/sys/dev/de/if_de.c +++ b/sys/dev/de/if_de.c @@ -1,5 +1,5 @@ /* $NetBSD: if_de.c,v 1.56 1997/10/20 14:32:46 matt Exp $ */ -/* $Id: if_de.c,v 1.73 1997/10/25 14:32:15 phk Exp $ */ +/* $Id: if_de.c,v 1.74 1997/11/08 14:46:53 peter Exp $ */ /*- * Copyright (c) 1994-1997 Matt Thomas (matt@3am-software.com) @@ -64,7 +64,9 @@ #include #endif #include +#ifdef TULIP_USE_SOFTINTR #include +#endif #if defined(__bsdi__) && _BSDI_VERSION >= 199701 #include @@ -4897,7 +4899,7 @@ tulip_pci_probe( static void tulip_pci_attach(TULIP_PCI_ATTACH_ARGS); static u_long tulip_pci_count; -struct pci_device dedevice = { +static struct pci_device dedevice = { "de", tulip_pci_probe, tulip_pci_attach, diff --git a/sys/pci/if_de.c b/sys/pci/if_de.c index 224942534b57..2ca1d6455b05 100644 --- a/sys/pci/if_de.c +++ b/sys/pci/if_de.c @@ -1,5 +1,5 @@ /* $NetBSD: if_de.c,v 1.56 1997/10/20 14:32:46 matt Exp $ */ -/* $Id: if_de.c,v 1.73 1997/10/25 14:32:15 phk Exp $ */ +/* $Id: if_de.c,v 1.74 1997/11/08 14:46:53 peter Exp $ */ /*- * Copyright (c) 1994-1997 Matt Thomas (matt@3am-software.com) @@ -64,7 +64,9 @@ #include #endif #include +#ifdef TULIP_USE_SOFTINTR #include +#endif #if defined(__bsdi__) && _BSDI_VERSION >= 199701 #include @@ -4897,7 +4899,7 @@ tulip_pci_probe( static void tulip_pci_attach(TULIP_PCI_ATTACH_ARGS); static u_long tulip_pci_count; -struct pci_device dedevice = { +static struct pci_device dedevice = { "de", tulip_pci_probe, tulip_pci_attach,