Commit 57a96f5c authored by Paul Eggert's avatar Paul Eggert
Browse files

* eval.c: Make symbols static if they're not exported.

(backtrace_list, lisp_eval_depth, when_entered_debugger): Now static.
* lisp.h (backtrace_list): Remove decl.
parent 35f08c38
2011-04-13 Paul Eggert <eggert@cs.ucla.edu>
* eval.c: Make symbols static if they're not exported.
(backtrace_list, lisp_eval_depth, when_entered_debugger): Now static.
* lisp.h (backtrace_list): Remove decl.
* emacs.c: Make symbols static if they're not exported.
(malloc_state_ptr, malloc_using_checking, syms_of_emacs):
(fatal_error_code, fatal_error_signal_hook, standard_args):
......
......@@ -56,7 +56,7 @@ struct backtrace
char debug_on_exit : 1;
};
struct backtrace *backtrace_list;
static struct backtrace *backtrace_list;
#if !BYTE_MARK_STACK
static
......@@ -116,7 +116,7 @@ struct specbinding *specpdl_ptr;
/* Depth in Lisp evaluations and function calls. */
EMACS_INT lisp_eval_depth;
static EMACS_INT lisp_eval_depth;
/* The value of num_nonmacro_input_events as of the last time we
started to enter the debugger. If we decide to enter the debugger
......@@ -125,7 +125,7 @@ EMACS_INT lisp_eval_depth;
signal the error instead of entering an infinite loop of debugger
invocations. */
int when_entered_debugger;
static int when_entered_debugger;
/* The function from which the last `signal' was called. Set in
Fsignal. */
......
......@@ -2005,8 +2005,6 @@ struct catchtag
struct byte_stack *byte_stack;
};
extern struct backtrace *backtrace_list;
extern Lisp_Object memory_signal_data;
/* An address near the bottom of the stack.
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment