Fix warning on USB_NONE targets

git-svn-id: svn://svn.rockbox.org/rockbox/trunk@28279 a1c6a512-1295-4272-9138-f99709370657
This commit is contained in:
Jonathan Gordon 2010-10-14 12:29:19 +00:00
parent 529fb70694
commit 6c9db4c4c4

View file

@ -22,7 +22,7 @@
#define _USB_SCREEN_H_ #define _USB_SCREEN_H_
#ifdef USB_NONE #ifdef USB_NONE
static inline void gui_usb_screen_run(bool early_usb) {} #define gui_usb_screen_run(early_usb) do {} while(0)
#else #else
extern void gui_usb_screen_run(bool early_usb); extern void gui_usb_screen_run(bool early_usb);
#endif #endif