From 51db509e1a774aaded554148dafd408af48b0d5c Mon Sep 17 00:00:00 2001 From: Ori Yadid Date: Mon, 23 Sep 2024 15:53:53 +0300 Subject: [PATCH] Fix compile error caused by missing declarations This resolves an issue in the previous commit, which introduced a `nasm_err_helpers(void, note, ERR_NOTE)` line to `error.c`, without declaring the corresponding functions generated by the helper macro (`nasm_note` and `nasm_notef`). Signed-off-by: Ori Yadid --- 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, ...);