summaryrefslogtreecommitdiff
path: root/sys/dev/usb/usb_mem.c
diff options
context:
space:
mode:
Diffstat (limited to 'sys/dev/usb/usb_mem.c')
-rw-r--r--sys/dev/usb/usb_mem.c16
1 files changed, 8 insertions, 8 deletions
diff --git a/sys/dev/usb/usb_mem.c b/sys/dev/usb/usb_mem.c
index 8b1d9d89c49..a93aa332a4a 100644
--- a/sys/dev/usb/usb_mem.c
+++ b/sys/dev/usb/usb_mem.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: usb_mem.c,v 1.18 2007/06/04 10:34:04 mbalmer Exp $ */
+/* $OpenBSD: usb_mem.c,v 1.19 2007/06/05 08:43:56 mbalmer Exp $ */
/* $NetBSD: usb_mem.c,v 1.26 2003/02/01 06:23:40 thorpej Exp $ */
/*
@@ -82,18 +82,18 @@ struct usb_frag_dma {
LIST_ENTRY(usb_frag_dma) next;
};
-Static usbd_status usb_block_allocmem(bus_dma_tag_t, size_t, size_t,
+usbd_status usb_block_allocmem(bus_dma_tag_t, size_t, size_t,
usb_dma_block_t **);
-Static void usb_block_freemem(usb_dma_block_t *);
+void usb_block_freemem(usb_dma_block_t *);
-Static LIST_HEAD(, usb_dma_block) usb_blk_freelist =
+LIST_HEAD(, usb_dma_block) usb_blk_freelist =
LIST_HEAD_INITIALIZER(usb_blk_freelist);
-Static int usb_blk_nfree = 0;
+int usb_blk_nfree = 0;
/* XXX should have different free list for different tags (for speed) */
-Static LIST_HEAD(, usb_frag_dma) usb_frag_freelist =
+LIST_HEAD(, usb_frag_dma) usb_frag_freelist =
LIST_HEAD_INITIALIZER(usb_frag_freelist);
-Static usbd_status
+usbd_status
usb_block_allocmem(bus_dma_tag_t tag, size_t size, size_t align,
usb_dma_block_t **dmap)
{
@@ -199,7 +199,7 @@ usb_block_real_freemem(usb_dma_block_t *p)
* from an interrupt context and that is BAD.
* XXX when should we really free?
*/
-Static void
+void
usb_block_freemem(usb_dma_block_t *p)
{
int s;