From ef5fd5391ca0eb0d2fc6787fd2f6e69c796fd532 Mon Sep 17 00:00:00 2001 From: "H. Peter Anvin" Date: Mon, 4 Nov 2024 10:17:06 -0800 Subject: [PATCH] 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 --- include/error.h | 2 ++ 1 file changed, 2 insertions(+) diff --git a/include/error.h b/include/error.h index d01c4ca9..bd8b2952 100644 --- a/include/error.h +++ b/include/error.h @@ -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, ...);