From 46c8c4207d1883b56795b73ede2348088f6f7fb5 Mon Sep 17 00:00:00 2001 From: Josef Karthauser Date: Tue, 8 Jan 2002 10:32:33 +0000 Subject: [PATCH] Staticise a couple of things that shouldn't be leaked into the kernel namespace. Submitted by: msmith --- sys/dev/usb/uhci.c | 2 +- sys/dev/usb/umass.c | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/sys/dev/usb/uhci.c b/sys/dev/usb/uhci.c index 85c79c14036d..51c2fa7465f5 100644 --- a/sys/dev/usb/uhci.c +++ b/sys/dev/usb/uhci.c @@ -155,7 +155,7 @@ struct uhci_pipe { * The uhci_intr_info free list can be global since they contain * no dma specific data. The other free lists do. */ -LIST_HEAD(, uhci_intr_info) uhci_ii_free; +Static LIST_HEAD(, uhci_intr_info) uhci_ii_free; Static void uhci_busreset(uhci_softc_t *); Static void uhci_reset(uhci_softc_t *); diff --git a/sys/dev/usb/umass.c b/sys/dev/usb/umass.c index af04f741fdcd..e2918e1a55e9 100644 --- a/sys/dev/usb/umass.c +++ b/sys/dev/usb/umass.c @@ -444,7 +444,7 @@ char *states[TSTATE_STATES+1] = { }; #endif -struct cam_sim *umass_sim; /* SCSI Interface Module */ +Static struct cam_sim *umass_sim; /* SCSI Interface Module */ /* USB device probe/attach/detach functions */