=================================================================== RCS file: /cvs/cvs/blind/log.h,v retrieving revision 1.3 retrieving revision 1.6 diff -u -p -r1.3 -r1.6 --- blind/log.h 2022/03/18 09:20:46 1.3 +++ blind/log.h 2022/03/29 20:17:38 1.6 @@ -19,14 +19,16 @@ #include -void log_init(int, int); -void log_setv(int); -int log_getv(void); -void log_send(const char *, va_list) +void log_init(int, int); +void log_set(int); +int log_get(void); +void log_send(const char *, va_list) __attribute__((__format__ (printf, 1, 0))); -void log_info(const char *, ...) +void log_info(const char *, ...) __attribute__((__format__ (printf, 1, 2))); -void log_debug(const char *, ...) +void log_debug(const char *, ...) + __attribute__((__format__ (printf, 1, 2))); +__dead void log_fatal(const char *, ...) __attribute__((__format__ (printf, 1, 2))); #endif /* LOG_H */