Source-Changes-HG archive

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

[src/trunk]: src/sys/dev/pci Make the product table static.



details:   https://anonhg.NetBSD.org/src/rev/8f4402e8203c
branches:  trunk
changeset: 569484:8f4402e8203c
user:      thorpej <thorpej%NetBSD.org@localhost>
date:      Sat Aug 21 22:23:13 2004 +0000

description:
Make the product table static.

diffstat:

 sys/dev/pci/if_wm.c |  6 +++---
 1 files changed, 3 insertions(+), 3 deletions(-)

diffs (27 lines):

diff -r 6cdbe65dcaa7 -r 8f4402e8203c sys/dev/pci/if_wm.c
--- a/sys/dev/pci/if_wm.c       Sat Aug 21 22:16:07 2004 +0000
+++ b/sys/dev/pci/if_wm.c       Sat Aug 21 22:23:13 2004 +0000
@@ -1,4 +1,4 @@
-/*     $NetBSD: if_wm.c,v 1.75 2004/08/05 19:11:11 thorpej Exp $       */
+/*     $NetBSD: if_wm.c,v 1.76 2004/08/21 22:23:13 thorpej Exp $       */
 
 /*
  * Copyright (c) 2001, 2002, 2003, 2004 Wasabi Systems, Inc.
@@ -47,7 +47,7 @@
  */
 
 #include <sys/cdefs.h>
-__KERNEL_RCSID(0, "$NetBSD: if_wm.c,v 1.75 2004/08/05 19:11:11 thorpej Exp $");
+__KERNEL_RCSID(0, "$NetBSD: if_wm.c,v 1.76 2004/08/21 22:23:13 thorpej Exp $");
 
 #include "bpfilter.h"
 #include "rnd.h"
@@ -492,7 +492,7 @@
 /*
  * Devices supported by this driver.
  */
-const struct wm_product {
+static const struct wm_product {
        pci_vendor_id_t         wmp_vendor;
        pci_product_id_t        wmp_product;
        const char              *wmp_name;



Home | Main Index | Thread Index | Old Index