From 416af603700b9739a73044ea703ba4014eb0c123 Mon Sep 17 00:00:00 2001 From: Stefan Kangas Date: Fri, 21 Oct 2022 08:12:59 +0200 Subject: [PATCH] * src/lisp.h (pkg_error): Fix GCC warning in declaration. --- src/lisp.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/lisp.h b/src/lisp.h index 2042dbbd2f9..f60583a1507 100644 --- a/src/lisp.h +++ b/src/lisp.h @@ -2272,7 +2272,7 @@ extern void init_pkg_once (void); extern void init_pkg (void); extern void syms_of_pkg (void); extern Lisp_Object pkg_qualified_symbol (Lisp_Object name, Lisp_Object package, bool external); -extern void pkg_error (const char *fmt, ...); +extern _Noreturn void pkg_error (const char *fmt, ...) ATTRIBUTE_FORMAT_PRINTF (1, 0); extern Lisp_Object pkg_unqualified_symbol (Lisp_Object name); extern bool pkg_keywordp (Lisp_Object obj); extern Lisp_Object pkg_define_symbol (Lisp_Object sym, Lisp_Object package); -- 2.39.2