Fork us on GitHub Follow us on Facebook Follow us on Twitter

Changeset 920d0fc in mainline for uspace/lib/usb/include/usb/debug.h


Ignore:
Timestamp:
2012-08-17T14:15:28Z (9 years ago)
Author:
Vojtech Horky <vojtechhorky@…>
Branches:
lfn, master
Children:
a1a101d
Parents:
20dd67e
Message:

USB logging functions are only macros to standard logging

File:
1 edited

Legend:

Unmodified
Added
Removed
  • uspace/lib/usb/include/usb/debug.h

    r20dd67e r920d0fc  
    5858#endif
    5959
    60 void usb_log_enable(log_level_t , const char *);
    61 
    62 void usb_log_printf(log_level_t, const char *, ...)
    63         PRINTF_ATTRIBUTE(2, 3);
     60#define usb_log_printf(level, format, ...) \
     61        log_msg(level, format, ##__VA_ARGS__)
    6462
    6563/** Log fatal error. */
Note: See TracChangeset for help on using the changeset viewer.