diff options
| author | Paul Eggert | 2024-05-04 10:08:48 -0700 |
|---|---|---|
| committer | Paul Eggert | 2024-05-11 18:46:27 -0700 |
| commit | 99a5c75f3b0916affdc8ea4a25d4bc87e67bca88 (patch) | |
| tree | 5839ee36d6cef64fc2e21224f56a60c568acdc54 /src/pgtkselect.c | |
| parent | 7ae091d933b03d0a1e1e0b39a949c2811c4c3618 (diff) | |
| download | emacs-99a5c75f3b0916affdc8ea4a25d4bc87e67bca88.tar.gz emacs-99a5c75f3b0916affdc8ea4a25d4bc87e67bca88.zip | |
Pacify gcc -Wmissing-variable-declarations
This is a new warning diagnostic in GCC 14.
* lib-src/etags.c (mercury_heuristics_ratio):
* src/pgtkselect.c, src/xselect.c (selection_request_stack):
* src/xselect.c (outstanding_transfers):
* src/xterm.c (pending_selection_requests)
(x_dnd_waiting_for_motif_finish_display):
Now static.
* lib-src/make-docfile.c (close_emacs_globals):
Arrange for lispsym to be declared with extern first,
when compiling lread.c.
* src/alloc.c (gdb_make_enums_visible) [__GNUC__]:
* src/emacs.c (RCS_Id):
* src/keyboard.c (stop_character):
* src/print.c (print_output_debug_flag):
Now declared with extern first.
* src/lisp.h (DEFINE_GDB_SYMBOL_BEGIN) [MAIN_PROGRAM]:
Arrange for ID to be declared extern first.
* src/lisp.h (garbage_collection_inhibited):
* src/xterm.h (x_frame_parm_handlers):
Declare here, so that its interface is properly checked. Other decls
removed.
Diffstat (limited to 'src/pgtkselect.c')
| -rw-r--r-- | src/pgtkselect.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/pgtkselect.c b/src/pgtkselect.c index b0ab15c6069..271411b87ca 100644 --- a/src/pgtkselect.c +++ b/src/pgtkselect.c | |||
| @@ -353,7 +353,7 @@ struct pgtk_selection_request | |||
| 353 | /* Stack of selections currently being processed. | 353 | /* Stack of selections currently being processed. |
| 354 | NULL if all requests have been fully processed. */ | 354 | NULL if all requests have been fully processed. */ |
| 355 | 355 | ||
| 356 | struct pgtk_selection_request *selection_request_stack; | 356 | static struct pgtk_selection_request *selection_request_stack; |
| 357 | 357 | ||
| 358 | static void | 358 | static void |
| 359 | pgtk_push_current_selection_request (struct selection_input_event *se, | 359 | pgtk_push_current_selection_request (struct selection_input_event *se, |