aboutsummaryrefslogtreecommitdiffstats
path: root/src/w32proc.c
diff options
context:
space:
mode:
authorEli Zaretskii2025-06-01 12:05:23 +0300
committerEli Zaretskii2025-06-01 12:05:23 +0300
commitf77c8c7d45c0efa12bea148778772b557de18b95 (patch)
tree52443c586a7f26687f8905612b09bda62d37d5b3 /src/w32proc.c
parentc3d9581f84107c2e137c71bb8fbf386bc20c944c (diff)
downloademacs-f77c8c7d45c0efa12bea148778772b557de18b95.tar.gz
emacs-f77c8c7d45c0efa12bea148778772b557de18b95.zip
; Avoid compiler warnings in MinGW builds
* src/w32proc.c (child_proc_count, child_procs) (Vw32_valid_locale_ids, Vw32_valid_codepages): Declare 'static'. * src/w32inevt.c (faked_key): Declare. * src/w32heap.c (data_region_base, data_region_end, heap): Declare. * src/w32console.c (keyboard_handle, current_tty, cost): Declare. * src/w32.c: Declare function pointers 'static'. (excptr, excprec, ctxrec, g_b_init_compare_string_w) (g_b_init_debug_break_process, LookupAccountSid_Name, dir_static) (winsock_lib, _wsa_errlist): Declare. * src/w32uniscribe.c: Declare function pointers 'static'. (uniscribe_available, harfbuzz_available): Declare. * src/w32term.c: Declare function pointers 'static'. (vertical_scroll_bar_min_handle, horizontal_scroll_bar_min_handle) (vertical_scroll_bar_top_border) (vertical_scroll_bar_bottom_border) (horizontal_scroll_bar_left_border) (horizontal_scroll_bar_right_border, last_scroll_bar_drag_pos): Declare 'static'. * src/w32xfns.c (input_available, interrupt_handle, lpHead) (lpTail, nQueue): Declare. * src/w32menu.c: Declare function pointers 'static'. * src/w32term.h (w32_frame_parm_handlers): Declare. * src/w32fns.c: Declare function pointers 'static'. (w32_darkmode, w32_color_map, deferred_msg_head, tip_frame) (tip_timer, tip_last_string, tip_last_frame, tip_last_parms): * src/lisp.h (daemon_type): Declare for WINDOWSNT as well. * nt/cmdproxy.c (escape_char, child, interactive): Declare 'static'. (Bug#78193)
Diffstat (limited to 'src/w32proc.c')
-rw-r--r--src/w32proc.c8
1 files changed, 4 insertions, 4 deletions
diff --git a/src/w32proc.c b/src/w32proc.c
index 77042149f96..d3c11b70f39 100644
--- a/src/w32proc.c
+++ b/src/w32proc.c
@@ -1795,8 +1795,8 @@ msg_wait_for_objects (DWORD nCount, HANDLE *lpHandles,
1795#define _P_NOWAIT 1 1795#define _P_NOWAIT 1
1796 1796
1797/* Child process management list. */ 1797/* Child process management list. */
1798int child_proc_count = 0; 1798static int child_proc_count = 0;
1799child_process child_procs[ MAX_CHILDREN ]; 1799static child_process child_procs[ MAX_CHILDREN ];
1800 1800
1801static DWORD WINAPI reader_thread (void *arg); 1801static DWORD WINAPI reader_thread (void *arg);
1802 1802
@@ -4293,7 +4293,7 @@ int_from_hex (char * s)
4293 4293
4294/* We need to build a global list, since the EnumSystemLocale callback 4294/* We need to build a global list, since the EnumSystemLocale callback
4295 function isn't given a context pointer. */ 4295 function isn't given a context pointer. */
4296Lisp_Object Vw32_valid_locale_ids; 4296static Lisp_Object Vw32_valid_locale_ids;
4297 4297
4298static BOOL CALLBACK ALIGN_STACK 4298static BOOL CALLBACK ALIGN_STACK
4299enum_locale_fn (LPTSTR localeNum) 4299enum_locale_fn (LPTSTR localeNum)
@@ -4357,7 +4357,7 @@ If successful, the new locale id is returned, otherwise nil. */)
4357 4357
4358/* We need to build a global list, since the EnumCodePages callback 4358/* We need to build a global list, since the EnumCodePages callback
4359 function isn't given a context pointer. */ 4359 function isn't given a context pointer. */
4360Lisp_Object Vw32_valid_codepages; 4360static Lisp_Object Vw32_valid_codepages;
4361 4361
4362static BOOL CALLBACK ALIGN_STACK 4362static BOOL CALLBACK ALIGN_STACK
4363enum_codepage_fn (LPTSTR codepageNum) 4363enum_codepage_fn (LPTSTR codepageNum)