bug-gnu-emacs
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

bug#24494: 24.4; Trailing comma in emacs-module.h


From: Christopher Wellons
Subject: bug#24494: 24.4; Trailing comma in emacs-module.h
Date: Wed, 21 Sep 2016 11:22:57 -0400

Building Emacs itself now requires a C99 compiler, but this requirement
needn't extend to dynamic modules. Removing a trailing comma (see patch)
makes emacs-module.h C89/C90 compatible, allowing modules to be built
using older C compilers. Trailing commas weren't permitted until C99.

diff --git a/src/emacs-module.h b/src/emacs-module.h
--- a/src/emacs-module.h
+++ b/src/emacs-module.h
@@ -67,7 +67,7 @@ enum emacs_funcall_exit
   emacs_funcall_exit_signal = 1,

   /* Function has exit using `throw'.  */
-  emacs_funcall_exit_throw = 2,
+  emacs_funcall_exit_throw = 2
 };

 struct emacs_env_25





reply via email to

[Prev in Thread] Current Thread [Next in Thread]