From: Gerd Moellmann Date: Mon, 20 Sep 1999 00:34:41 +0000 (+0000) Subject: (RETURN_UNGCPRO): Use do-while (0) idiom. X-Git-Tag: emacs-pretest-21.0.90~6673 X-Git-Url: http://git.eshelyaron.com/gitweb/?a=commitdiff_plain;h=0868e74e52c320525ffad000732df1a1e86bf806;p=emacs.git (RETURN_UNGCPRO): Use do-while (0) idiom. (toplevel): Add prototypes for stuff_char, and code_convert_string_norecord. --- diff --git a/src/lisp.h b/src/lisp.h index b2fe772b0e4..a00348cc6d8 100644 --- a/src/lisp.h +++ b/src/lisp.h @@ -1600,14 +1600,14 @@ void staticpro P_ ((Lisp_Object *)); /* Evaluate expr, UNGCPRO, and then return the value of expr. */ #define RETURN_UNGCPRO(expr) \ -if (1) \ +do \ { \ Lisp_Object ret_ungc_val; \ ret_ungc_val = (expr); \ UNGCPRO; \ return ret_ungc_val; \ } \ -else +while (0) /* Declare a Lisp-callable function. The MAXARGS parameter has the same meaning as in the DEFUN macro, and is used to construct a prototype. */ @@ -1768,6 +1768,8 @@ extern Lisp_Object detect_coding_system P_ ((unsigned char *, int, int)); extern void init_coding P_ ((void)); extern void init_coding_once P_ ((void)); extern void syms_of_coding P_ ((void)); +extern Lisp_Object code_convert_string_norecord P_ ((Lisp_Object, Lisp_Object, + int)); /* Defined in charset.c */ extern int nonascii_insert_offset; @@ -2601,6 +2603,7 @@ EXFUN (Fx_popup_dialog, 2); extern void syms_of_xmenu P_ ((void)); /* defined in sysdep.c */ +extern void stuff_char P_ ((char c)); extern void init_sigio P_ ((int)); extern void request_sigio P_ ((void)); extern void unrequest_sigio P_ ((void));