diff options
author | Bertrik Sikken <bertrik@sikken.nl> | 2010-07-30 23:47:49 +0000 |
---|---|---|
committer | Bertrik Sikken <bertrik@sikken.nl> | 2010-07-30 23:47:49 +0000 |
commit | 57933f2bc6cd404874e5772f35d9c10861d1f52e (patch) | |
tree | 63eb13fc550707e19f8624d5d2693111ee1f4c4a /firmware | |
parent | d73c81f912f51abcfb034ed3e563fd4b39db5854 (diff) |
Make some global function/variables local (by making them static)
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@27631 a1c6a512-1295-4272-9138-f99709370657
Diffstat (limited to 'firmware')
-rw-r--r-- | firmware/target/arm/as3525/usb-drv-as3525.c | 2 | ||||
-rw-r--r-- | firmware/target/arm/as3525/usb-drv-as3525v2.c | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/firmware/target/arm/as3525/usb-drv-as3525.c b/firmware/target/arm/as3525/usb-drv-as3525.c index bee9689ae3..0ababd857d 100644 --- a/firmware/target/arm/as3525/usb-drv-as3525.c +++ b/firmware/target/arm/as3525/usb-drv-as3525.c @@ -476,7 +476,7 @@ char *make_hex(char *data, int len) } #endif -void ep_send(int ep, void *ptr, int len) +static void ep_send(int ep, void *ptr, int len) { struct usb_dev_dma_desc *uc_desc = endpoints[ep][0].uc_desc; diff --git a/firmware/target/arm/as3525/usb-drv-as3525v2.c b/firmware/target/arm/as3525/usb-drv-as3525v2.c index 1514e765cb..a1ea7e30ab 100644 --- a/firmware/target/arm/as3525/usb-drv-as3525v2.c +++ b/firmware/target/arm/as3525/usb-drv-as3525v2.c @@ -100,7 +100,7 @@ static struct usb_endpoint endpoints[USB_NUM_ENDPOINTS][2]; /* setup packet for EP0 */ static struct usb_ctrlrequest ep0_setup_pkt USB_DEVBSS_ATTR; /* state of EP0 */ -enum ep0state ep0_state; +static enum ep0state ep0_state; void usb_attach(void) { |