diff options
author | joe <joe@FreeBSD.org> | 2002-01-08 10:32:33 +0000 |
---|---|---|
committer | joe <joe@FreeBSD.org> | 2002-01-08 10:32:33 +0000 |
commit | 825021e8a0b29ed7d72004b4d7067d9f3b82cf6e (patch) | |
tree | 4de29444a889d01841a07b0395464f5c36f79c69 | |
parent | 2b4f430bb76ff01080c29a6b6cec1515f57a9e54 (diff) | |
download | FreeBSD-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
-rw-r--r-- | sys/dev/usb/uhci.c | 2 | ||||
-rw-r--r-- | 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 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 */ |