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 <hpa@zytor.com>
diff --git a/include/error.h b/include/error.h index d01c4ca..bd8b295 100644 --- a/include/error.h +++ b/include/error.h
@@ -60,6 +60,8 @@ 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, ...);