summaryrefslogtreecommitdiffstats
path: root/sys
diff options
context:
space:
mode:
authorjoe <joe@FreeBSD.org>2002-01-08 10:32:33 +0000
committerjoe <joe@FreeBSD.org>2002-01-08 10:32:33 +0000
commit825021e8a0b29ed7d72004b4d7067d9f3b82cf6e (patch)
tree4de29444a889d01841a07b0395464f5c36f79c69 /sys
parent2b4f430bb76ff01080c29a6b6cec1515f57a9e54 (diff)
downloadFreeBSD-src-825021e8a0b29ed7d72004b4d7067d9f3b82cf6e.zip
FreeBSD-src-825021e8a0b29ed7d72004b4d7067d9f3b82cf6e.tar.gz
Staticise a couple of things that shouldn't be leaked into the
kernel namespace. Submitted by: msmith
Diffstat (limited to 'sys')
-rw-r--r--sys/dev/usb/uhci.c2
-rw-r--r--sys/dev/usb/umass.c2
2 files changed, 2 insertions, 2 deletions
diff --git a/sys/dev/usb/uhci.c b/sys/dev/usb/uhci.c
index 85c79c1..51c2fa7 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 af04f74..e2918e1 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 */
OpenPOWER on IntegriCloud