Source-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[src/trunk]: src/sys/dev/pci Remove unnecessary extern decl of fpa_ca.



details:   https://anonhg.NetBSD.org/src/rev/1cee35fb3ac0
branches:  trunk
changeset: 537495:1cee35fb3ac0
user:      thorpej <thorpej%NetBSD.org@localhost>
date:      Wed Oct 02 02:16:36 2002 +0000

description:
Remove unnecessary extern decl of fpa_ca.

diffstat:

 sys/dev/pci/if_fpa.c |  5 ++---
 1 files changed, 2 insertions(+), 3 deletions(-)

diffs (26 lines):

diff -r 2ec4b7726d4f -r 1cee35fb3ac0 sys/dev/pci/if_fpa.c
--- a/sys/dev/pci/if_fpa.c      Wed Oct 02 02:16:10 2002 +0000
+++ b/sys/dev/pci/if_fpa.c      Wed Oct 02 02:16:36 2002 +0000
@@ -1,4 +1,4 @@
-/*     $NetBSD: if_fpa.c,v 1.40 2002/09/30 20:37:31 thorpej Exp $      */
+/*     $NetBSD: if_fpa.c,v 1.41 2002/10/02 02:16:36 thorpej Exp $      */
 
 /*-
  * Copyright (c) 1995, 1996 Matt Thomas <matt%3am-software.com@localhost>
@@ -34,7 +34,7 @@
  */
 
 #include <sys/cdefs.h>
-__KERNEL_RCSID(0, "$NetBSD: if_fpa.c,v 1.40 2002/09/30 20:37:31 thorpej Exp $");
+__KERNEL_RCSID(0, "$NetBSD: if_fpa.c,v 1.41 2002/10/02 02:16:36 thorpej Exp $");
 
 #ifdef __NetBSD__
 #include "opt_inet.h"
@@ -128,7 +128,6 @@
 #define        PDQ_PCI_UNIT_TO_SOFTC(unit)     ((pdq_softc_t *)fpacd.cd_devs[unit])
 
 #elif defined(__NetBSD__)
-extern const struct cfattach fpa_ca;
 extern struct cfdriver fpa_cd;
 #define        PDQ_PCI_UNIT_TO_SOFTC(unit)     ((pdq_softc_t *)fpa_cd.cd_devs[unit])
 #define        pdq_pci_ifwatchdog              NULL



Home | Main Index | Thread Index | Old Index