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

Changeset 717a0aa in mainline for uspace/lib/c/include/io/log.h


Ignore:
Timestamp:
2012-08-16T12:09:09Z (9 years ago)
Author:
Vojtech Horky <vojtechhorky@…>
Branches:
lfn, master
Children:
9a53e00
Parents:
7034b443
Message:

Rename double-underscored functions

File:
1 edited

Legend:

Unmodified
Added
Removed
  • uspace/lib/c/include/io/log.h

    r7034b443 r717a0aa  
    5353extern int log_level_from_str(const char *, log_level_t *);
    5454
    55 extern bool __log_shall_record(log_level_t);
     55extern bool _log_shall_record(log_level_t);
    5656extern int log_init(const char *, log_level_t);
    5757
    5858#define log_msg(level, format, ...) \
    5959        do { \
    60                 if (__log_shall_record((level))) { \
    61                         __log_msg(level, format, ##__VA_ARGS__); \
     60                if (_log_shall_record((level))) { \
     61                        _log_msg(level, format, ##__VA_ARGS__); \
    6262                } \
    6363        } while (false)
     
    6565#define log_msgv(level, format, args) \
    6666        do { \
    67                 if (__log_shall_record((level))) { \
    68                         __log_msgv(level, format, args); \
     67                if (_log_shall_record((level))) { \
     68                        _log_msgv(level, format, args); \
    6969                } \
    7070        } while (false)
    7171
    72 extern void __log_msg(log_level_t, const char *, ...);
    73 extern void __log_msgv(log_level_t, const char *, va_list);
     72extern void _log_msg(log_level_t, const char *, ...);
     73extern void _log_msgv(log_level_t, const char *, va_list);
    7474
    7575#endif
Note: See TracChangeset for help on using the changeset viewer.