diff options
author | nicm <nicm> | 2021-08-25 07:09:30 +0000 |
---|---|---|
committer | nicm <nicm> | 2021-08-25 07:09:30 +0000 |
commit | a252fadf8a6df72e4a417de2668bffa971455193 (patch) | |
tree | 374dc2559f55356f1b30d52c38a2c69b543e33e6 /log.c | |
parent | 78da5a3756a9f51f8e49d2975f74a1ea800b58b6 (diff) |
Fix up some printflike attributes.
Diffstat (limited to 'log.c')
-rw-r--r-- | log.c | 5 |
1 files changed, 1 insertions, 4 deletions
@@ -30,9 +30,6 @@ static FILE *log_file; static int log_level; -static void log_event_cb(int, const char *); -static void log_vwrite(const char *, va_list); - /* Log callback for libevent. */ static void log_event_cb(__unused int severity, const char *msg) @@ -101,7 +98,7 @@ log_close(void) } /* Write a log message. */ -static void +static void printflike(1, 0) log_vwrite(const char *msg, va_list ap) { char *fmt, *out; |