changeset 1928:ba24fcdb4cfe

[xemacs-hg @ 2004-02-25 20:05:32 by james] Fix C++ breakage from previous patch.
author james
date Wed, 25 Feb 2004 20:05:33 +0000
parents 44905d8fae13
children 7999c3afeac9
files src/ChangeLog src/sysdep.h src/xemacs.def.in.in
diffstat 3 files changed, 10 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- a/src/ChangeLog	Wed Feb 25 17:42:37 2004 +0000
+++ b/src/ChangeLog	Wed Feb 25 20:05:33 2004 +0000
@@ -1,3 +1,8 @@
+2004-02-25  Jerry James  <james@xemacs.org>
+
+	* sysdep.h: Declare interrupt/quit-related symbols as C symbols.
+	* xemacs.def.in.in: Fix placement error in previous patch.
+
 2004-02-25  Jerry James  <james@xemacs.org>
 
 	* general-slots.h: Make Qcritical, Qdelete, Qsearch, and Qsimple
--- a/src/sysdep.h	Wed Feb 25 17:42:37 2004 +0000
+++ b/src/sysdep.h	Wed Feb 25 20:05:33 2004 +0000
@@ -66,12 +66,16 @@
 void request_sigio (void);
 void unrequest_sigio (void);
 
+BEGIN_C_DECLS
+
 void stop_interrupts (void);
 void start_interrupts (void);
 MODULE_API void slow_down_interrupts (void);
 MODULE_API void speed_up_interrupts (void);
 void init_poll_for_quit (void);
 
+END_C_DECLS
+
 /* Used so that signals can break out of system calls that aren't
    naturally interruptible. */
 
--- a/src/xemacs.def.in.in	Wed Feb 25 17:42:37 2004 +0000
+++ b/src/xemacs.def.in.in	Wed Feb 25 20:05:33 2004 +0000
@@ -230,6 +230,6 @@
 Qunbound
 #ifdef USE_UNION_TYPE
 Qzero				/* ZEROP */
+#endif
 Vinhibit_quit			/* QUIT, QUITP */
 Vquit_flag			/* QUIT, QUITP */
-#endif