From 8a10d76c8770781641cc742beb6a2ba653c99e00 Mon Sep 17 00:00:00 2001 From: Paul Eggert Date: Wed, 3 Aug 2011 12:54:12 -0700 Subject: [PATCH] * fontset.c (dump_fontset) [FONTSET_DEBUG]: Declare EXTERNALLY_VISIBLE so that it is not optimized away. --- src/ChangeLog | 3 +++ src/fontset.c | 2 ++ 2 files changed, 5 insertions(+) diff --git a/src/ChangeLog b/src/ChangeLog index 7c043f6d087..eb184899a85 100644 --- a/src/ChangeLog +++ b/src/ChangeLog @@ -1,5 +1,8 @@ 2011-08-03 Paul Eggert + * fontset.c (dump_fontset) [FONTSET_DEBUG]: Declare EXTERNALLY_VISIBLE + so that it is not optimized away. + * xdisp.c (compute_display_string_pos): Remove unused local. 2011-08-02 Eli Zaretskii diff --git a/src/fontset.c b/src/fontset.c index 3091f43d6e9..74eb61d2665 100644 --- a/src/fontset.c +++ b/src/fontset.c @@ -2100,6 +2100,8 @@ DEFUN ("fontset-list", Ffontset_list, Sfontset_list, 0, 0, 0, #ifdef FONTSET_DEBUG +Lisp_Object dump_fontset (Lisp_Object) EXTERNALLY_VISIBLE; + Lisp_Object dump_fontset (Lisp_Object fontset) { -- 2.39.2