mirror of
https://github.com/Rockbox/rockbox.git
synced 2025-12-08 12:45:26 -05:00
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:
parent
d73c81f912
commit
57933f2bc6
6 changed files with 9 additions and 8 deletions
|
|
@ -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;
|
||||
|
||||
|
|
|
|||
|
|
@ -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)
|
||||
{
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue