mirror of
git://git.sv.gnu.org/emacs.git
synced 2025-12-09 07:40:39 -08:00
; 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)
This commit is contained in:
parent
c3d9581f84
commit
f77c8c7d45
13 changed files with 122 additions and 103 deletions
|
|
@ -5171,9 +5171,10 @@ extern bool no_site_lisp;
|
|||
/* True means put details like time stamps into builds. */
|
||||
extern bool build_details;
|
||||
|
||||
#ifndef WINDOWSNT
|
||||
/* 0 not a daemon, 1 foreground daemon, 2 background daemon. */
|
||||
/* 0 not a daemon, 1 new-style (foreground), 2 old-style (background).
|
||||
A negative value means the daemon initialization was already done. */
|
||||
extern int daemon_type;
|
||||
#ifndef WINDOWSNT
|
||||
#define IS_DAEMON (daemon_type != 0)
|
||||
/* Non-zero means daemon-initialized has not yet been called. */
|
||||
#define DAEMON_RUNNING (daemon_type >= 0)
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue