From 51c4defc436c0d119941eb6d5b953d27b5b8e6f7 Mon Sep 17 00:00:00 2001 From: Marvin Borner Date: Sat, 7 Aug 2021 23:39:21 +0200 Subject: Better error logging --- inc/log.h | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) (limited to 'inc/log.h') diff --git a/inc/log.h b/inc/log.h index 4698f9c..da82233 100644 --- a/inc/log.h +++ b/inc/log.h @@ -3,7 +3,6 @@ #include -__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 -- cgit v1.2.3