summaryrefslogtreecommitdiff
path: root/sys/dev
diff options
context:
space:
mode:
authorJason Wright <jason@cvs.openbsd.org>2007-05-26 17:13:32 +0000
committerJason Wright <jason@cvs.openbsd.org>2007-05-26 17:13:32 +0000
commit93767ea00dd6c4564e390e060a3e251c22b1f1a5 (patch)
treefd00948ebd5818492b0552055b50e0593d6953b2 /sys/dev
parent1afb44c84e02ea7b687853df5e4e93093298a295 (diff)
one extern seems to be better than 20 for ifqmaxlen; ok krw
Diffstat (limited to 'sys/dev')
-rw-r--r--sys/dev/pci/if_nx.c4
-rw-r--r--sys/dev/pci/if_vic.c4
2 files changed, 2 insertions, 6 deletions
diff --git a/sys/dev/pci/if_nx.c b/sys/dev/pci/if_nx.c
index b198e33859c..c34a29541a2 100644
--- a/sys/dev/pci/if_nx.c
+++ b/sys/dev/pci/if_nx.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: if_nx.c,v 1.46 2007/05/26 16:44:21 reyk Exp $ */
+/* $OpenBSD: if_nx.c,v 1.47 2007/05/26 17:13:30 jason Exp $ */
/*
* Copyright (c) 2007 Reyk Floeter <reyk@openbsd.org>
@@ -303,8 +303,6 @@ const struct nxb_board {
const u_int32_t nx_swportreg[NXSW_PORTREG_MAX][NX_MAX_PORTS] = NXSW_PORTREGS;
#define NXSW_PORTREG(_p, _r) (nx_swportreg[_r][nx->nx_port->nxp_id])
-extern int ifqmaxlen;
-
/*
* Routines handling the physical ''nxb'' board
*/
diff --git a/sys/dev/pci/if_vic.c b/sys/dev/pci/if_vic.c
index 20d5043e38f..a9e11f918de 100644
--- a/sys/dev/pci/if_vic.c
+++ b/sys/dev/pci/if_vic.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: if_vic.c,v 1.47 2007/05/04 05:08:55 deraadt Exp $ */
+/* $OpenBSD: if_vic.c,v 1.48 2007/05/26 17:13:30 jason Exp $ */
/*
* Copyright (c) 2006 Reyk Floeter <reyk@openbsd.org>
@@ -343,8 +343,6 @@ const struct pci_matchid vic_devices[] = {
{ PCI_VENDOR_VMWARE, PCI_PRODUCT_VMWARE_NET }
};
-extern int ifqmaxlen;
-
int
vic_match(struct device *parent, void *match, void *aux)
{