From: Paul Eggert Date: Wed, 13 Apr 2011 22:57:17 +0000 (-0700) Subject: * fileio.c: Make symbols static if they're not exported. X-Git-Tag: emacs-pretest-24.0.90~104^2~275^2~328 X-Git-Url: http://git.eshelyaron.com/gitweb/?a=commitdiff_plain;h=5045092bb41620c978e01afe3efef18477ba2760;p=emacs.git * fileio.c: Make symbols static if they're not exported. (auto_saving, auto_save_mode_bits, auto_save_error_occurred): (Vwrite_region_annotation_buffers): Now static. --- diff --git a/src/ChangeLog b/src/ChangeLog index 5a6da2ab788..e2efafb2adc 100644 --- a/src/ChangeLog +++ b/src/ChangeLog @@ -1,5 +1,9 @@ 2011-04-13 Paul Eggert + * fileio.c: Make symbols static if they're not exported. + (auto_saving, auto_save_mode_bits, auto_save_error_occurred): + (Vwrite_region_annotation_buffers): Now static. + * 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. diff --git a/src/fileio.c b/src/fileio.c index fb16decaaa3..4c92510178a 100644 --- a/src/fileio.c +++ b/src/fileio.c @@ -88,14 +88,14 @@ along with GNU Emacs. If not, see . */ #endif /* Nonzero during writing of auto-save files */ -int auto_saving; +static int auto_saving; /* Set by auto_save_1 to mode of original file so Fwrite_region will create a new file with the same mode as the original */ -int auto_save_mode_bits; +static int auto_save_mode_bits; /* Set by auto_save_1 if an error occurred during the last auto-save. */ -int auto_save_error_occurred; +static int auto_save_error_occurred; /* The symbol bound to coding-system-for-read when insert-file-contents is called for recovering a file. This is not @@ -118,7 +118,7 @@ static Lisp_Object Qafter_insert_file_set_coding; static Lisp_Object Qwrite_region_annotate_functions; /* Each time an annotation function changes the buffer, the new buffer is added here. */ -Lisp_Object Vwrite_region_annotation_buffers; +static Lisp_Object Vwrite_region_annotation_buffers; #ifdef HAVE_FSYNC #endif