Skip to content

Commit ef5fd53

Browse files
author
H. Peter Anvin
committed
error.h: add prototypes for nasm_note[f]()
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]>
1 parent 8d62e99 commit ef5fd53

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

include/error.h

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -60,6 +60,8 @@ void printf_func(1, 2) nasm_debug(const char *fmt, ...);
6060
void printf_func(2, 3) nasm_debugf(errflags flags, const char *fmt, ...);
6161
void printf_func(1, 2) nasm_info(const char *fmt, ...);
6262
void printf_func(2, 3) nasm_infof(errflags flags, const char *fmt, ...);
63+
void printf_func(1, 2) nasm_note(const char *fmt, ...);
64+
void printf_func(2, 3) nasm_notef(errflags flags, const char *fmt, ...);
6365
void printf_func(2, 3) nasm_warn_(errflags flags, const char *fmt, ...);
6466
void printf_func(1, 2) nasm_nonfatal(const char *fmt, ...);
6567
void printf_func(2, 3) nasm_nonfatalf(errflags flags, const char *fmt, ...);

0 commit comments

Comments
 (0)