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
This commit is contained in:
Bertrik Sikken 2010-07-30 23:47:49 +00:00
parent d73c81f912
commit 57933f2bc6
6 changed files with 9 additions and 8 deletions

View file

@ -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;

View file

@ -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)
{