From c2f518cd73834099a67637cd69b4162e0e41f0e5 Mon Sep 17 00:00:00 2001 From: Philipp Stephani Date: Sat, 1 Jul 2017 19:58:57 +0200 Subject: [PATCH] Also mark module init function as noexcept if possible * src/emacs-module.h.in (emacs_module_init): Mark as noexcept if possible. --- src/emacs-module.h.in | 1 + 1 file changed, 1 insertion(+) diff --git a/src/emacs-module.h.in b/src/emacs-module.h.in index ec8db61f069..40b6448d27e 100644 --- a/src/emacs-module.h.in +++ b/src/emacs-module.h.in @@ -97,6 +97,7 @@ struct emacs_env_26 /* Every module should define a function as follows. */ extern int emacs_module_init (struct emacs_runtime *ert) + EMACS_NOEXCEPT EMACS_ATTRIBUTE_NONNULL(1); #ifdef __cplusplus -- 2.39.2