diff options
author | Omar Polo <op@omarpolo.com> | 2023-06-06 08:34:54 +0000 |
---|---|---|
committer | Omar Polo <op@omarpolo.com> | 2023-06-06 08:34:54 +0000 |
commit | 3dd89fbb44f7f61b8c89db12f4469ca49c17bc68 (patch) | |
tree | ac48a0ad797f7bc6f056dcbad0389cb7072d9389 /log.h | |
parent | 3a8c76eab2203c2e19ac63a2e22cea79e250cbea (diff) |
predeclare struct client
Diffstat (limited to 'log.h')
-rw-r--r-- | log.h | 2 |
1 files changed, 2 insertions, 0 deletions
@@ -21,6 +21,8 @@ void fatalx(const char *, ...) __attribute__((format (printf, 1, 2))) __attribute__((__noreturn__)); +struct client; + #define LOG_ATTR_FMT __attribute__((format (printf, 2, 3))) void log_err(struct client *, const char *, ...) LOG_ATTR_FMT; void log_warn(struct client *, const char *, ...) LOG_ATTR_FMT; |