commit 3dd89fbb44f7f61b8c89db12f4469ca49c17bc68 from: Omar Polo date: Tue Jun 06 08:34:54 2023 UTC predeclare struct client commit - 3a8c76eab2203c2e19ac63a2e22cea79e250cbea commit + 3dd89fbb44f7f61b8c89db12f4469ca49c17bc68 blob - 842bbe5d1c365030f23efd658e2ed36ce8f00d53 blob + 95d1b22f5bbb5aff8178c5c8fb456453a5024041 --- log.h +++ log.h @@ -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;