+2011-10-29 Paul Eggert <eggert@cs.ucla.edu>
+
+ * alloc.c (which_symbols): Declare EXTERNALLY_VISIBLE,
+ so that this new function doesn't get optimized away by a
+ whole-program optimizer. Make the 2nd arg EMACS_INT, not int.
+
2011-10-29 Andreas Schwab <schwab@linux-m68k.org>
* frame.h (MOUSE_HL_INFO): Remove excess parens.
static void free_large_strings (void);
static void sweep_strings (void);
static void free_misc (Lisp_Object);
+extern Lisp_Object which_symbols (Lisp_Object, EMACS_INT) EXTERNALLY_VISIBLE;
/* When scanning the C stack for live Lisp objects, Emacs keeps track
of what memory allocated via lisp_malloc is intended for what
function. This is used in gdbinit's `xwhichsymbols' command. */
Lisp_Object
-which_symbols (Lisp_Object obj, int find_max)
+which_symbols (Lisp_Object obj, EMACS_INT find_max)
{
struct symbol_block *sblk;
int gc_count = inhibit_garbage_collection ();