changeset 569:9cdcb214753f

[xemacs-hg @ 2001-05-24 12:20:33 by yoshiki] Fix broken build. * gui.c (gui_error_2): New function. * lisp.h (gui_error_2): Declare it.
author yoshiki
date Thu, 24 May 2001 12:20:35 +0000
parents 430f8ca10ca6
children db376c5066a7
files src/ChangeLog src/gui.c src/lisp.h
diffstat 3 files changed, 13 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- a/src/ChangeLog	Thu May 24 12:12:16 2001 +0000
+++ b/src/ChangeLog	Thu May 24 12:20:35 2001 +0000
@@ -1,3 +1,8 @@
+2001-05-24  Yoshiki Hayashi  <yoshiki@xemacs.org>
+
+	* gui.c (gui_error_2): New function.
+	* lisp.h (gui_error_2): Declare it.
+
 2001-05-24  Norbert Koch  <nk@LF.net>
 
 	* doprnt.c (emacs_doprnt_1): forgotten sons of Ben's error patch
--- a/src/gui.c	Thu May 24 12:12:16 2001 +0000
+++ b/src/gui.c	Thu May 24 12:20:35 2001 +0000
@@ -832,6 +832,12 @@
   signal_error (Qgui_error, reason, frob);
 }
 
+DOESNT_RETURN
+gui_error_2 (const char *reason, Lisp_Object frob0, Lisp_Object frob1)
+{
+  signal_error_2 (Qgui_error, reason, frob0, frob1);
+}
+
 void
 syms_of_gui (void)
 {
--- a/src/lisp.h	Thu May 24 12:12:16 2001 +0000
+++ b/src/lisp.h	Thu May 24 12:20:35 2001 +0000
@@ -2740,7 +2740,8 @@
 /* Defined in gui.c */
 DECLARE_DOESNT_RETURN (gui_error (const char *reason,
 				  Lisp_Object frob));
-
+DECLARE_DOESNT_RETURN (gui_error_2 (const char *reason,
+				    Lisp_Object frob0, Lisp_Object frob1));
 /* Defined in indent.c */
 int bi_spaces_at_point (struct buffer *, Bytind);
 int column_at_point (struct buffer *, Bufpos, int);