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 a401c0919..a5f9e9f5b 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 -#define USB_PRINTF(fmt, args...) +static inline void USB_PRINTF(const char *fmt, ...) {}  #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 -#define USB_HUB_PRINTF(fmt, args...) +static inline void USB_HUB_PRINTF(const char *fmt, ...) {}  #endif diff --git a/common/usb_storage.c b/common/usb_storage.c index 16667f394..5c56918e2 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 -#define USB_STOR_PRINTF(fmt, args...) +static inline void USB_STOR_PRINTF(const char *fmt, ...) {}  #endif  #include <scsi.h> |