aboutsummaryrefslogtreecommitdiff
path: root/snag/src/util.h
diff options
context:
space:
mode:
Diffstat (limited to 'snag/src/util.h')
-rw-r--r--snag/src/util.h3
1 files changed, 0 insertions, 3 deletions
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)));