summaryrefslogtreecommitdiffstats
path: root/sys/dev/pci/pcivar.h
diff options
context:
space:
mode:
authormdodd <mdodd@FreeBSD.org>2001-12-19 08:49:11 +0000
committermdodd <mdodd@FreeBSD.org>2001-12-19 08:49:11 +0000
commitc6b070b1734f667835308989231ba4936dbd525f (patch)
tree1d8838027cd207ae0a3757b52e06b9cfbb3023fa /sys/dev/pci/pcivar.h
parent3145320d5808fab2aaa4d0dd7999119aeb51d3ae (diff)
downloadFreeBSD-src-c6b070b1734f667835308989231ba4936dbd525f.zip
FreeBSD-src-c6b070b1734f667835308989231ba4936dbd525f.tar.gz
Don't put variable declarations in header files, put prototypes.
'pci_devq' provides useful information now.
Diffstat (limited to 'sys/dev/pci/pcivar.h')
-rw-r--r--sys/dev/pci/pcivar.h6
1 files changed, 4 insertions, 2 deletions
diff --git a/sys/dev/pci/pcivar.h b/sys/dev/pci/pcivar.h
index 8a1c281..5014d31 100644
--- a/sys/dev/pci/pcivar.h
+++ b/sys/dev/pci/pcivar.h
@@ -330,7 +330,9 @@ extern struct cdevsw pcicdev;
/*
* List of all PCI devices, generation count for the list.
*/
-STAILQ_HEAD(devlist, pci_devinfo) pci_devq;
-u_int32_t pci_generation;
+STAILQ_HEAD(devlist, pci_devinfo);
+
+extern struct devlist pci_devq;
+extern u_int32_t pci_generation;
#endif /* _PCIVAR_H_ */
OpenPOWER on IntegriCloud