Format attributes go in the header, and I are dumb.
This commit is contained in:
@@ -19,7 +19,6 @@ void log_cleanup() {
|
||||
assert(!fclose(log_stream));
|
||||
}
|
||||
|
||||
__attribute__ ((__format__ (__printf__, 3, 4)))
|
||||
void log_write(char type, const uint8_t *id, const char *fmt, ...) {
|
||||
va_list ap;
|
||||
va_start(ap, fmt);
|
||||
|
||||
Reference in New Issue
Block a user