diff options
author | Marvin Borner | 2021-08-07 23:39:21 +0200 |
---|---|---|
committer | Marvin Borner | 2021-08-07 23:39:21 +0200 |
commit | 51c4defc436c0d119941eb6d5b953d27b5b8e6f7 (patch) | |
tree | c90b6329b81a4c4715f7860cb3a6a7b1d3174e37 /inc/log.h | |
parent | 55e5ec54eaef97e87efefc2294a5afaf8935566b (diff) |
Better error logging
Diffstat (limited to 'inc/log.h')
-rw-r--r-- | inc/log.h | 3 |
1 files changed, 1 insertions, 2 deletions
@@ -3,7 +3,6 @@ #include <context.h> -__attribute__((noreturn)) void errln(struct ctx *ctx, const char *fmt, ...); -__attribute__((noreturn)) void err(const char *fmt, ...); +__attribute__((noreturn)) void errln(struct ctx_location *location, const char *fmt, ...); #endif |