Changes to use attributes for noreturn and printf-like functions

This commit is contained in:
Landon Curt Noll
2022-01-22 02:48:50 -08:00
parent 3f177f2d81
commit 1658343227
5 changed files with 9 additions and 13 deletions

2
hist.c
View File

@@ -137,7 +137,7 @@ S_FUNC void uppercase_word(void);
S_FUNC void lowercase_word(void);
S_FUNC void ignore_char(void);
S_FUNC void arrow_key(void);
S_FUNC void quit_calc(void);
S_FUNC void quit_calc(void) __attribute__((noreturn));
STATIC FUNC funcs[] =