diff options
author | Mattias Andrée <maandree@kth.se> | 2022-01-24 18:37:15 +0100 |
---|---|---|
committer | Mattias Andrée <maandree@kth.se> | 2022-01-24 18:37:15 +0100 |
commit | 0650e17761ffc45b4fc5d32287514796d6da332d (patch) | |
tree | 1a4733cc429bf282fcd4e25928aa4e17bb9a12c9 /common.h | |
parent | Add more test cases (diff) | |
download | makel-0650e17761ffc45b4fc5d32287514796d6da332d.tar.gz makel-0650e17761ffc45b4fc5d32287514796d6da332d.tar.bz2 makel-0650e17761ffc45b4fc5d32287514796d6da332d.tar.xz |
Fix output and note which test cases are used to test each warning
Signed-off-by: Mattias Andrée <maandree@kth.se>
Diffstat (limited to 'common.h')
-rw-r--r-- | common.h | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -125,13 +125,13 @@ int is_line_blank(struct line *line); /* ui.c */ extern struct warning_class_data warning_classes[]; void xprintwarningf(enum warning_class class, int severity, const char *fmt, ...); -#define printinfof(CLASS, ...) xprintwarningf(CLASS, 0, __VA_ARGS__) #define warnf_style(CLASS, ...) xprintwarningf(CLASS, EXIT_STYLE, __VA_ARGS__) #define warnf_confusing(CLASS, ...) xprintwarningf(CLASS, EXIT_CONFUSING, __VA_ARGS__) #define warnf_warning(CLASS, ...) xprintwarningf(CLASS, EXIT_WARNING, __VA_ARGS__) #define warnf_unspecified(CLASS, ...) xprintwarningf(CLASS, EXIT_UNSPECIFIED, __VA_ARGS__) #define warnf_nonconforming(CLASS, ...) xprintwarningf(CLASS, EXIT_NONCONFORMING, __VA_ARGS__) #define warnf_undefined(CLASS, ...) xprintwarningf(CLASS, EXIT_UNDEFINED, __VA_ARGS__) +void printinfof(enum warning_class class, const char *fmt, ...); void printerrorf(const char *fmt, ...); void printtipf(enum warning_class class, const char *fmt, ...); |