diff options
| author | Paul Eggert | 2011-04-13 15:53:58 -0700 |
|---|---|---|
| committer | Paul Eggert | 2011-04-13 15:53:58 -0700 |
| commit | 57a96f5c91758efc0acf2c343dc876d0e0926018 (patch) | |
| tree | 619475e80ea847f4045da7c153d1eafa6e7296e8 /src/eval.c | |
| parent | 35f08c383e85c6de5a87fc3e16993354b9987ae9 (diff) | |
| download | emacs-57a96f5c91758efc0acf2c343dc876d0e0926018.tar.gz emacs-57a96f5c91758efc0acf2c343dc876d0e0926018.zip | |
* 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.
Diffstat (limited to 'src/eval.c')
| -rw-r--r-- | src/eval.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/src/eval.c b/src/eval.c index dddedc77286..ef5eb6bdaaf 100644 --- a/src/eval.c +++ b/src/eval.c | |||
| @@ -56,7 +56,7 @@ struct backtrace | |||
| 56 | char debug_on_exit : 1; | 56 | char debug_on_exit : 1; |
| 57 | }; | 57 | }; |
| 58 | 58 | ||
| 59 | struct backtrace *backtrace_list; | 59 | static struct backtrace *backtrace_list; |
| 60 | 60 | ||
| 61 | #if !BYTE_MARK_STACK | 61 | #if !BYTE_MARK_STACK |
| 62 | static | 62 | static |
| @@ -116,7 +116,7 @@ struct specbinding *specpdl_ptr; | |||
| 116 | 116 | ||
| 117 | /* Depth in Lisp evaluations and function calls. */ | 117 | /* Depth in Lisp evaluations and function calls. */ |
| 118 | 118 | ||
| 119 | EMACS_INT lisp_eval_depth; | 119 | static EMACS_INT lisp_eval_depth; |
| 120 | 120 | ||
| 121 | /* The value of num_nonmacro_input_events as of the last time we | 121 | /* The value of num_nonmacro_input_events as of the last time we |
| 122 | started to enter the debugger. If we decide to enter the debugger | 122 | started to enter the debugger. If we decide to enter the debugger |
| @@ -125,7 +125,7 @@ EMACS_INT lisp_eval_depth; | |||
| 125 | signal the error instead of entering an infinite loop of debugger | 125 | signal the error instead of entering an infinite loop of debugger |
| 126 | invocations. */ | 126 | invocations. */ |
| 127 | 127 | ||
| 128 | int when_entered_debugger; | 128 | static int when_entered_debugger; |
| 129 | 129 | ||
| 130 | /* The function from which the last `signal' was called. Set in | 130 | /* The function from which the last `signal' was called. Set in |
| 131 | Fsignal. */ | 131 | Fsignal. */ |