diff options
| author | thorpej <thorpej@NetBSD.org> | 2005-06-28 00:29:48 +0000 |
|---|---|---|
| committer | thorpej <thorpej@NetBSD.org> | 2005-06-28 00:29:48 +0000 |
| commit | 032d48d15607dfdd9ac3348669122de9720cc22c (patch) | |
| tree | b371fc8c103c59b6bd6a4bc46e2cfd5995809c94 /sys/dev/pci/devlist2h.awk | |
| parent | d36c43c5116b411db37f485089aad01828ff4c8b (diff) | |
static'ify pci_vendors[] and pci_products[]
Diffstat (limited to 'sys/dev/pci/devlist2h.awk')
| -rw-r--r-- | sys/dev/pci/devlist2h.awk | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/sys/dev/pci/devlist2h.awk b/sys/dev/pci/devlist2h.awk index ca21ae1a9b9..d0e76565ad5 100644 --- a/sys/dev/pci/devlist2h.awk +++ b/sys/dev/pci/devlist2h.awk @@ -1,5 +1,5 @@ #! /usr/bin/awk -f -# $NetBSD: devlist2h.awk,v 1.10 2005/02/27 15:19:13 perry Exp $ +# $NetBSD: devlist2h.awk,v 1.11 2005/06/28 00:29:48 thorpej Exp $ # # Copyright (c) 1995, 1996 Christopher G. Demetriou # All rights reserved. @@ -161,7 +161,7 @@ END { printf("\n") > dfile - printf("const struct pci_vendor pci_vendors[] = {\n") > dfile + printf("static const struct pci_vendor pci_vendors[] = {\n") > dfile for (i = 1; i <= nvendors; i++) { printf("\t{\n") > dfile printf("\t PCI_VENDOR_%s,\n", vendors[i, 1]) \ @@ -185,7 +185,7 @@ END { printf("\n") > dfile - printf("const struct pci_product pci_products[] = {\n") > dfile + printf("static const struct pci_product pci_products[] = {\n") > dfile for (i = 1; i <= nproducts; i++) { printf("\t{\n") > dfile printf("\t PCI_VENDOR_%s, PCI_PRODUCT_%s_%s,\n", |
