From: Stefan Kangas Date: Fri, 21 Oct 2022 06:12:59 +0000 (+0200) Subject: * src/lisp.h (pkg_error): Fix GCC warning in declaration. X-Git-Url: http://git.eshelyaron.com/gitweb/?a=commitdiff_plain;h=416af603700b9739a73044ea703ba4014eb0c123;p=emacs.git * src/lisp.h (pkg_error): Fix GCC warning in declaration. --- 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);