]> git.eshelyaron.com Git - emacs.git/commit
Omit ‘const’ on locals
authorPaul Eggert <eggert@cs.ucla.edu>
Thu, 19 Nov 2015 22:24:50 +0000 (14:24 -0800)
committerPaul Eggert <eggert@cs.ucla.edu>
Thu, 19 Nov 2015 22:25:17 +0000 (14:25 -0800)
commitd9b300af5c7b07bd870046e73df53e19e860fdb9
tree808f21f765c38490a164d2efe4c8af182299db6c
parent68d58e69738db41061812b10f2f3f50b6a1b9aa0
Omit ‘const’ on locals

Remove ‘const’ qualifier from locals that were newly added.
We don’t normally bother declaring locals with ‘const’ even
though they are not modified, for the same reason we don’t
bother declaring them with ‘register’ even though their
addresses are not taken; the advantage in compile-time
checking isn’t worth the loss of readability.
* modules/mod-test/mod-test.c (Fmod_test_non_local_exit_funcall)
(Fmod_test_vector_fill, Fmod_test_vector_eq):
* src/emacs-module.c (MODULE_SETJMP_1)
(module_make_global_ref, module_free_global_ref)
(module_non_local_exit_get, module_make_function)
(module_extract_integer, module_extract_float)
(module_get_user_ptr, module_set_user_ptr)
(module_get_user_finalizer, module_set_user_finalizer)
(module_vec_get, Fmodule_call)
(module_non_local_exit_signal_1)
(module_non_local_exit_throw_1, lisp_to_value)
(finalize_storage, allocate_emacs_value, mark_modules)
(module_handle_signal, module_handle_throw)
(module_format_fun_env):
* src/eval.c (push_handler, push_handler_nosignal)
(init_handler):
* src/lread.c (suffix_p):
Omit unnecessary ‘const’.
modules/mod-test/mod-test.c
src/emacs-module.c
src/eval.c
src/lread.c