]> git.eshelyaron.com Git - emacs.git/commit
Prefer static to extern where either will do
authorPaul Eggert <eggert@cs.ucla.edu>
Thu, 31 Jan 2019 23:31:41 +0000 (15:31 -0800)
committerPaul Eggert <eggert@cs.ucla.edu>
Thu, 31 Jan 2019 23:33:21 +0000 (15:33 -0800)
commit47679e63230da94cffed568a4d5167ffc1baea96
tree45a1f8a1ed3fe07174d509205a4ba1d393435758
parent05d2fc7170fb66a87601b1c76ddae2c1b7b4b934
Prefer static to extern where either will do

* src/charset.c (charset_table_size):
* src/pdumper.c (dump_private):
* src/sysdep.c (init_sigsegv):
* src/window.c (old_selected_window):
Now static.
* src/charset.c (charset_table_size):
Now int, since the value always fits in int.
* src/gtkutil.c (xg_gtk_initialized): Now present only if
HAVE_XWIDGETS, to make it clearer that this is an xwidgets
hack.  All uses changed.
* src/lread.c (ndefsubr): Remove; unused.
* src/pdumper.h: Use usual GNU indenting style for functions,
since my static-vs-extern checking hack relies on it.
(dump_public): Always declare; simpler and doesn’t hurt.
(pdumper_handle_page_fault): Remove unused decl.
src/charset.c
src/charset.h
src/gtkutil.c
src/lread.c
src/pdumper.c
src/pdumper.h
src/sysdep.c
src/syssignal.h
src/window.c
src/window.h