aboutsummaryrefslogtreecommitdiff
path: root/src/inc/warnings.h
diff options
context:
space:
mode:
authorMarvin Borner2021-04-20 16:09:00 +0200
committerMarvin Borner2021-04-20 16:09:00 +0200
commitfbf9cfee0d22a2750b894c2ddb19dff2a50810b4 (patch)
tree035f30ad32e4302c32b8c6a6641f017747e36f0b /src/inc/warnings.h
parent2415600bb755885154072f28a86d784b32567920 (diff)
All right
Diffstat (limited to 'src/inc/warnings.h')
-rw-r--r--src/inc/warnings.h7
1 files changed, 6 insertions, 1 deletions
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 <def.h>
+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);