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/xselect.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/xselect.c')
| -rw-r--r-- | src/xselect.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/xselect.c b/src/xselect.c index fd0f06eeed9..6578358adc0 100644 --- a/src/xselect.c +++ b/src/xselect.c | |||
| @@ -562,12 +562,12 @@ struct x_selection_request | |||
| 562 | /* Stack of selections currently being processed. | 562 | /* Stack of selections currently being processed. |
| 563 | NULL if all requests have been fully processed. */ | 563 | NULL if all requests have been fully processed. */ |
| 564 | 564 | ||
| 565 | struct x_selection_request *selection_request_stack; | 565 | static struct x_selection_request *selection_request_stack; |
| 566 | 566 | ||
| 567 | /* List of all outstanding selection transfers which are currently | 567 | /* List of all outstanding selection transfers which are currently |
| 568 | being processed. */ | 568 | being processed. */ |
| 569 | 569 | ||
| 570 | struct transfer outstanding_transfers; | 570 | static struct transfer outstanding_transfers; |
| 571 | 571 | ||
| 572 | /* A counter for selection serials. */ | 572 | /* A counter for selection serials. */ |
| 573 | 573 | ||