summaryrefslogtreecommitdiffstats
path: root/sys/dev
diff options
context:
space:
mode:
authoreivind <eivind@FreeBSD.org>1999-04-11 02:50:42 +0000
committereivind <eivind@FreeBSD.org>1999-04-11 02:50:42 +0000
commit57f5464515ef0a1961aa12e149d0b84f04628df6 (patch)
treeba6068dfe1b58a3cdc8d1601393a298e5c904811 /sys/dev
parent0c28a9ea813d884afaa41f252e6621c61c8f058e (diff)
downloadFreeBSD-src-57f5464515ef0a1961aa12e149d0b84f04628df6.zip
FreeBSD-src-57f5464515ef0a1961aa12e149d0b84f04628df6.tar.gz
Staticize.
Diffstat (limited to 'sys/dev')
-rw-r--r--sys/dev/isp/isp_pci.c4
-rw-r--r--sys/dev/pci/pci.c6
2 files changed, 5 insertions, 5 deletions
diff --git a/sys/dev/isp/isp_pci.c b/sys/dev/isp/isp_pci.c
index 58a86b7..ee3eba9 100644
--- a/sys/dev/isp/isp_pci.c
+++ b/sys/dev/isp/isp_pci.c
@@ -1,4 +1,4 @@
-/* $Id: isp_pci.c,v 1.17 1999/03/25 22:53:56 mjacob Exp $ */
+/* $Id: isp_pci.c,v 1.18 1999/04/04 01:14:02 mjacob Exp $ */
/* release_4_3_99 */
/*
* PCI specific probe and attach routines for Qlogic ISP SCSI adapters.
@@ -264,7 +264,7 @@ struct isp_pcisoftc {
static u_long ispunit;
-struct pci_device isp_pci_driver = {
+static struct pci_device isp_pci_driver = {
"isp",
isp_pci_probe,
isp_pci_attach,
diff --git a/sys/dev/pci/pci.c b/sys/dev/pci/pci.c
index 73b8142..e449fc2 100644
--- a/sys/dev/pci/pci.c
+++ b/sys/dev/pci/pci.c
@@ -23,7 +23,7 @@
* (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF
* THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
*
- * $Id: pci.c,v 1.92 1999/01/12 01:44:42 eivind Exp $
+ * $Id: pci.c,v 1.93 1999/01/19 23:29:18 se Exp $
*
*/
@@ -58,9 +58,9 @@
#include <machine/smp.h>
#endif /* APIC_IO */
-STAILQ_HEAD(devlist, pci_devinfo) pci_devq;
+static STAILQ_HEAD(devlist, pci_devinfo) pci_devq;
u_int32_t pci_numdevs = 0;
-u_int32_t pci_generation = 0;
+static u_int32_t pci_generation = 0;
/* return highest PCI bus number known to be used, or -1 if none */
OpenPOWER on IntegriCloud