Browse Source

* add compiler hint to f2b_log_msg()

master
Alex 'AdUser' Z 9 years ago
parent
commit
1815f7ae99
  1. 3
      src/log.h

3
src/log.h

@ -18,7 +18,8 @@ typedef enum {
log_fatal = 5
} log_msgtype_t;
void f2b_log_msg(log_msgtype_t l, const char *fmt, ...);
void f2b_log_msg(log_msgtype_t l, const char *fmt, ...)
__attribute__ ((format (printf, 2, 3)));
void f2b_log_set_level(const char *level);
void f2b_log_to_file (const char *path);
void f2b_log_to_stderr();

Loading…
Cancel
Save