From: Philipp Stephani Date: Sat, 1 Jul 2017 17:58:57 +0000 (+0200) Subject: Also mark module init function as noexcept if possible X-Git-Tag: emacs-26.0.90~521^2~11^2~15 X-Git-Url: http://git.eshelyaron.com/gitweb/?a=commitdiff_plain;h=c2f518cd73834099a67637cd69b4162e0e41f0e5;p=emacs.git Also mark module init function as noexcept if possible * src/emacs-module.h.in (emacs_module_init): Mark as noexcept if possible. --- 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