From fbf9cfee0d22a2750b894c2ddb19dff2a50810b4 Mon Sep 17 00:00:00 2001 From: Marvin Borner Date: Tue, 20 Apr 2021 16:09:00 +0200 Subject: All right --- src/inc/warnings.h | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) (limited to 'src/inc/warnings.h') diff --git a/src/inc/warnings.h b/src/inc/warnings.h index 495b2e2..f8c06bb 100644 --- a/src/inc/warnings.h +++ b/src/inc/warnings.h @@ -3,8 +3,13 @@ #include +struct context { + u32 line; + u32 column; +}; + void warnings_print(void); -void warnings_add(u32 line, const char *fmt, ...); +void warnings_add(struct context *ctx, const char *fmt, ...); void warnings_clear(void); u8 warnings_exist(void); -- cgit v1.2.3