diff options
Diffstat (limited to 'src/inc/warnings.h')
-rw-r--r-- | src/inc/warnings.h | 7 |
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); |