Changeset bd79281 in mainline for uspace/srv/hid/remcons/user.h


Ignore:
Timestamp:
2012-01-15T14:06:02Z (13 years ago)
Author:
Vojtech Horky <vojtechhorky@…>
Branches:
lfn, master, serial, ticket/834-toolchain-update, topic/msim-upgrade, topic/simplify-dev-export
Children:
d50db30
Parents:
a1347a7
Message:

remcons: be queit in non-debug build

File:
1 edited

Legend:

Unmodified
Added
Removed
  • uspace/srv/hid/remcons/user.h

    ra1347a7 rbd79281  
    8686
    8787/** Print informational message about connected user. */
     88#ifdef CONFIG_DEBUG
    8889#define telnet_user_log(user, fmt, ...) \
    8990        printf(NAME " [console %d (%d)]: " fmt "\n", user->id, (int) user->service_id, ##__VA_ARGS__)
     91#else
     92#define telnet_user_log(user, fmt, ...) (void)0
     93#endif
    9094
    9195/** Print error message associated with connected user. */
Note: See TracChangeset for help on using the changeset viewer.