aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorPaul Eggert2011-04-13 15:57:17 -0700
committerPaul Eggert2011-04-13 15:57:17 -0700
commit5045092bb41620c978e01afe3efef18477ba2760 (patch)
tree833b9506b28a3dbe1ebf2d5ffcd47eb547fc67e0
parent57a96f5c91758efc0acf2c343dc876d0e0926018 (diff)
downloademacs-5045092bb41620c978e01afe3efef18477ba2760.tar.gz
emacs-5045092bb41620c978e01afe3efef18477ba2760.zip
* 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.
-rw-r--r--src/ChangeLog4
-rw-r--r--src/fileio.c8
2 files changed, 8 insertions, 4 deletions
diff --git a/src/ChangeLog b/src/ChangeLog
index 5a6da2ab788..e2efafb2adc 100644
--- a/src/ChangeLog
+++ b/src/ChangeLog
@@ -1,5 +1,9 @@
12011-04-13 Paul Eggert <eggert@cs.ucla.edu> 12011-04-13 Paul Eggert <eggert@cs.ucla.edu>
2 2
3 * fileio.c: Make symbols static if they're not exported.
4 (auto_saving, auto_save_mode_bits, auto_save_error_occurred):
5 (Vwrite_region_annotation_buffers): Now static.
6
3 * eval.c: Make symbols static if they're not exported. 7 * eval.c: Make symbols static if they're not exported.
4 (backtrace_list, lisp_eval_depth, when_entered_debugger): Now static. 8 (backtrace_list, lisp_eval_depth, when_entered_debugger): Now static.
5 * lisp.h (backtrace_list): Remove decl. 9 * 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 <http://www.gnu.org/licenses/>. */
88#endif 88#endif
89 89
90/* Nonzero during writing of auto-save files */ 90/* Nonzero during writing of auto-save files */
91int auto_saving; 91static int auto_saving;
92 92
93/* Set by auto_save_1 to mode of original file so Fwrite_region will create 93/* Set by auto_save_1 to mode of original file so Fwrite_region will create
94 a new file with the same mode as the original */ 94 a new file with the same mode as the original */
95int auto_save_mode_bits; 95static int auto_save_mode_bits;
96 96
97/* Set by auto_save_1 if an error occurred during the last auto-save. */ 97/* Set by auto_save_1 if an error occurred during the last auto-save. */
98int auto_save_error_occurred; 98static int auto_save_error_occurred;
99 99
100/* The symbol bound to coding-system-for-read when 100/* The symbol bound to coding-system-for-read when
101 insert-file-contents is called for recovering a file. This is not 101 insert-file-contents is called for recovering a file. This is not
@@ -118,7 +118,7 @@ static Lisp_Object Qafter_insert_file_set_coding;
118static Lisp_Object Qwrite_region_annotate_functions; 118static Lisp_Object Qwrite_region_annotate_functions;
119/* Each time an annotation function changes the buffer, the new buffer 119/* Each time an annotation function changes the buffer, the new buffer
120 is added here. */ 120 is added here. */
121Lisp_Object Vwrite_region_annotation_buffers; 121static Lisp_Object Vwrite_region_annotation_buffers;
122 122
123#ifdef HAVE_FSYNC 123#ifdef HAVE_FSYNC
124#endif 124#endif