From a682c2cdc499bdecab81e41200f4a28b08600bfb Mon Sep 17 00:00:00 2001 From: Riley Beckett Date: Wed, 22 Jul 2026 22:30:54 -0400 Subject: make configure posix shell instead of bash --- snag/src/util.h | 3 --- 1 file changed, 3 deletions(-) (limited to 'snag/src/util.h') diff --git a/snag/src/util.h b/snag/src/util.h index 081b570..1300ace 100644 --- a/snag/src/util.h +++ b/snag/src/util.h @@ -6,12 +6,9 @@ // utility for errors #if !DEBUG - void log(const char* format, ...) __attribute__((format(printf, 1, 2))); void die(const char* format, ...) __attribute__((format(printf, 1, 2))); void* emalloc(size_t size, char* alloc_reason); #else - #define log(fmt, ...) _log(__LINE__, __FILE__, fmt, ##__VA_ARGS__) - void _log(int line, const char* file, const char* format, ...) __attribute__((format(printf, 3, 4))); #define die(fmt, ...) _die(__LINE__, __FILE__, fmt, ##__VA_ARGS__) void _die(int line, const char* file, const char* format, ...) __attribute__((format(printf, 3, 4))); -- cgit v1.2.3