diff options
Diffstat (limited to 'common')
| -rw-r--r-- | common/usb.c | 4 | ||||
| -rw-r--r-- | common/usb_storage.c | 2 | 
2 files changed, 3 insertions, 3 deletions
| diff --git a/common/usb.c b/common/usb.c index a5f9e9f5b..a401c0919 100644 --- a/common/usb.c +++ b/common/usb.c @@ -63,7 +63,7 @@  #ifdef	USB_DEBUG  #define	USB_PRINTF(fmt, args...)	printf(fmt , ##args)  #else -static inline void USB_PRINTF(const char *fmt, ...) {} +#define USB_PRINTF(fmt, args...)  #endif  #define USB_BUFSIZ	512 @@ -970,7 +970,7 @@ void usb_scan_devices(void)  #ifdef	USB_HUB_DEBUG  #define	USB_HUB_PRINTF(fmt, args...)	printf(fmt , ##args)  #else -static inline void USB_HUB_PRINTF(const char *fmt, ...) {} +#define USB_HUB_PRINTF(fmt, args...)  #endif diff --git a/common/usb_storage.c b/common/usb_storage.c index 5c56918e2..16667f394 100644 --- a/common/usb_storage.c +++ b/common/usb_storage.c @@ -63,7 +63,7 @@  #ifdef	USB_STOR_DEBUG  #define USB_STOR_PRINTF(fmt, args...)	printf(fmt , ##args)  #else -static inline void USB_STOR_PRINTF(const char *fmt, ...) {} +#define USB_STOR_PRINTF(fmt, args...)  #endif  #include <scsi.h> |