aboutsummaryrefslogtreecommitdiffstats
path: root/src/print.c
diff options
context:
space:
mode:
authorPaul Eggert2024-05-04 10:08:48 -0700
committerPaul Eggert2024-05-11 18:46:27 -0700
commit99a5c75f3b0916affdc8ea4a25d4bc87e67bca88 (patch)
tree5839ee36d6cef64fc2e21224f56a60c568acdc54 /src/print.c
parent7ae091d933b03d0a1e1e0b39a949c2811c4c3618 (diff)
downloademacs-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/print.c')
-rw-r--r--src/print.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/print.c b/src/print.c
index 612d63b7e94..7aacd2b2e90 100644
--- a/src/print.c
+++ b/src/print.c
@@ -90,6 +90,7 @@ static ptrdiff_t print_number_index;
90static void print_interval (INTERVAL interval, void *pprintcharfun); 90static void print_interval (INTERVAL interval, void *pprintcharfun);
91 91
92/* GDB resets this to zero on W32 to disable OutputDebugString calls. */ 92/* GDB resets this to zero on W32 to disable OutputDebugString calls. */
93extern bool print_output_debug_flag;
93bool print_output_debug_flag EXTERNALLY_VISIBLE = 1; 94bool print_output_debug_flag EXTERNALLY_VISIBLE = 1;
94 95
95 96