aboutsummaryrefslogtreecommitdiffstats
path: root/src/dbusbind.c
diff options
context:
space:
mode:
authorPaul Eggert2014-05-17 01:11:31 -0700
committerPaul Eggert2014-05-17 01:11:31 -0700
commit8208d2bf95f924ed810dc06e84fc4c7d5ac004a5 (patch)
treeb66944645e971c516adfef8f8bc74517bda8dfa1 /src/dbusbind.c
parentf63fc858c3d4a7d91ccac850025e407cc57b77fc (diff)
downloademacs-8208d2bf95f924ed810dc06e84fc4c7d5ac004a5.tar.gz
emacs-8208d2bf95f924ed810dc06e84fc4c7d5ac004a5.zip
Assume C99 or later.
* lib/stdarg.in.h, lib/stdbool.in.h, m4/stdarg.m4, m4/stdbool.m4: Remove. * configure.ac (_AC_PROG_CC_C89): Define a dummy, to keep 'configure' smaller. (gl_PROG_CC_C99): Use this to get C99 or later. * lib/gnulib.mk, m4/gnulib-comp.m4: Regenerate. * admin/merge-gnulib (GNULIB_MODULES): Remove stdarg, stdbool. (GNULIB_TOOL_FLAGS): Avoid stdarg, stdbool. * doc/lispref/internals.texi (C Dialect): Document this. * etc/NEWS: Document this. * nt/gnulib.mk: Remove stdarg and stdbool modules. * src/bytecode.c (B__dummy__): Remove. * src/conf_post.h (bool_bf) [!NS_IMPL_GNUSTEP]: Use bool. (FLEXIBLE_ARRAY_MEMBER): Now always empty. * src/dbusbind.c (XD_DEBUG_MESSAGE) [!DBUS_DEBUG]: * src/regex.c (DEBUG_PRINT): Assume varargs macros. * src/lisp.h (DEFUN_FUNCTION_INIT): Remove. All uses now assume C99. Fixes: debbugs:17487
Diffstat (limited to 'src/dbusbind.c')
-rw-r--r--src/dbusbind.c6
1 files changed, 1 insertions, 5 deletions
diff --git a/src/dbusbind.c b/src/dbusbind.c
index 8ebc56c72c4..8997e01b068 100644
--- a/src/dbusbind.c
+++ b/src/dbusbind.c
@@ -142,10 +142,7 @@ static bool xd_in_read_queued_messages = 0;
142 } while (0) 142 } while (0)
143 143
144#else /* !DBUS_DEBUG */ 144#else /* !DBUS_DEBUG */
145# if __STDC_VERSION__ < 199901 145# define XD_DEBUG_MESSAGE(...) \
146# define XD_DEBUG_MESSAGE (void) /* Pre-C99 compilers cannot debug. */
147# else
148# define XD_DEBUG_MESSAGE(...) \
149 do { \ 146 do { \
150 if (!NILP (Vdbus_debug)) \ 147 if (!NILP (Vdbus_debug)) \
151 { \ 148 { \
@@ -154,7 +151,6 @@ static bool xd_in_read_queued_messages = 0;
154 message ("%s: %s", __func__, s); \ 151 message ("%s: %s", __func__, s); \
155 } \ 152 } \
156 } while (0) 153 } while (0)
157# endif
158# define XD_DEBUG_VALID_LISP_OBJECT_P(object) 154# define XD_DEBUG_VALID_LISP_OBJECT_P(object)
159#endif 155#endif
160 156