diff options
| author | Eli Zaretskii | 2025-06-01 12:05:23 +0300 |
|---|---|---|
| committer | Eli Zaretskii | 2025-06-01 12:05:23 +0300 |
| commit | f77c8c7d45c0efa12bea148778772b557de18b95 (patch) | |
| tree | 52443c586a7f26687f8905612b09bda62d37d5b3 /src/w32proc.c | |
| parent | c3d9581f84107c2e137c71bb8fbf386bc20c944c (diff) | |
| download | emacs-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.c | 8 |
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. */ |
| 1798 | int child_proc_count = 0; | 1798 | static int child_proc_count = 0; |
| 1799 | child_process child_procs[ MAX_CHILDREN ]; | 1799 | static child_process child_procs[ MAX_CHILDREN ]; |
| 1800 | 1800 | ||
| 1801 | static DWORD WINAPI reader_thread (void *arg); | 1801 | static 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. */ |
| 4296 | Lisp_Object Vw32_valid_locale_ids; | 4296 | static Lisp_Object Vw32_valid_locale_ids; |
| 4297 | 4297 | ||
| 4298 | static BOOL CALLBACK ALIGN_STACK | 4298 | static BOOL CALLBACK ALIGN_STACK |
| 4299 | enum_locale_fn (LPTSTR localeNum) | 4299 | enum_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. */ |
| 4360 | Lisp_Object Vw32_valid_codepages; | 4360 | static Lisp_Object Vw32_valid_codepages; |
| 4361 | 4361 | ||
| 4362 | static BOOL CALLBACK ALIGN_STACK | 4362 | static BOOL CALLBACK ALIGN_STACK |
| 4363 | enum_codepage_fn (LPTSTR codepageNum) | 4363 | enum_codepage_fn (LPTSTR codepageNum) |