Changeset aa492fe in mainline for uspace/app/bdsh/errors.h


Ignore:
Timestamp:
2012-08-23T14:49:38Z (12 years ago)
Author:
Martin Decky <martin@…>
Branches:
lfn, master, serial, ticket/834-toolchain-update, topic/msim-upgrade, topic/simplify-dev-export
Children:
f0a2720
Parents:
dd13349
Message:

extend the scope of compile-time printf-like argument verification

File:
1 edited

Legend:

Unmodified
Added
Removed
  • uspace/app/bdsh/errors.h

    rdd13349 raa492fe  
    3030#define ERRORS_H
    3131
     32#include <io/verify.h>
     33
    3234/* Various error levels */
    3335#define CL_EFATAL  -1
     
    4648extern volatile int cli_errno;
    4749
    48 extern void cli_error(int, const char *, ...);
     50extern void cli_error(int, const char *, ...)
     51    PRINTF_ATTRIBUTE(2, 3);
    4952
    5053#endif
Note: See TracChangeset for help on using the changeset viewer.