Skip to content

Commit

Permalink
error.h: add prototypes for nasm_note[f]()
Browse files Browse the repository at this point in the history
Apparently -Wall -W doesn't enable -Wmissing-prototypes for some
bizarre reason.

This allowed this to slink through unnoticed.

Signed-off-by: H. Peter Anvin <[email protected]>
  • Loading branch information
H. Peter Anvin committed Nov 4, 2024
1 parent 8d62e99 commit ef5fd53
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions include/error.h
Original file line number Diff line number Diff line change
Expand Up @@ -60,6 +60,8 @@ void printf_func(1, 2) nasm_debug(const char *fmt, ...);
void printf_func(2, 3) nasm_debugf(errflags flags, const char *fmt, ...);
void printf_func(1, 2) nasm_info(const char *fmt, ...);
void printf_func(2, 3) nasm_infof(errflags flags, const char *fmt, ...);
void printf_func(1, 2) nasm_note(const char *fmt, ...);
void printf_func(2, 3) nasm_notef(errflags flags, const char *fmt, ...);
void printf_func(2, 3) nasm_warn_(errflags flags, const char *fmt, ...);
void printf_func(1, 2) nasm_nonfatal(const char *fmt, ...);
void printf_func(2, 3) nasm_nonfatalf(errflags flags, const char *fmt, ...);
Expand Down

0 comments on commit ef5fd53

Please sign in to comment.