diff options
| author | Paul Eggert | 2019-01-31 15:31:41 -0800 |
|---|---|---|
| committer | Paul Eggert | 2019-01-31 15:33:21 -0800 |
| commit | 47679e63230da94cffed568a4d5167ffc1baea96 (patch) | |
| tree | 45a1f8a1ed3fe07174d509205a4ba1d393435758 /src/window.h | |
| parent | 05d2fc7170fb66a87601b1c76ddae2c1b7b4b934 (diff) | |
| download | emacs-47679e63230da94cffed568a4d5167ffc1baea96.tar.gz emacs-47679e63230da94cffed568a4d5167ffc1baea96.zip | |
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.
Diffstat (limited to 'src/window.h')
| -rw-r--r-- | src/window.h | 1 |
1 files changed, 0 insertions, 1 deletions
diff --git a/src/window.h b/src/window.h index 514bf1fb6ec..d816bb1683d 100644 --- a/src/window.h +++ b/src/window.h | |||
| @@ -1039,7 +1039,6 @@ wset_next_buffers (struct window *w, Lisp_Object val) | |||
| 1039 | This value is always the same as FRAME_SELECTED_WINDOW (selected_frame). */ | 1039 | This value is always the same as FRAME_SELECTED_WINDOW (selected_frame). */ |
| 1040 | 1040 | ||
| 1041 | extern Lisp_Object selected_window; | 1041 | extern Lisp_Object selected_window; |
| 1042 | extern Lisp_Object old_selected_window; | ||
| 1043 | 1042 | ||
| 1044 | /* This is a time stamp for window selection, so we can find the least | 1043 | /* This is a time stamp for window selection, so we can find the least |
| 1045 | recently used window. Its only users are Fselect_window, | 1044 | recently used window. Its only users are Fselect_window, |