mirror of
https://github.com/masscollaborationlabs/emacs.git
synced 2025-07-03 10:53:23 +00:00
; Fix warnings in MinGW builds
* src/w32fns.c (msh_mousewheel): Declare. * src/treesit.c (treesit_debug_print_linecol): Fix format specifiers. * lib-src/pop.c (pfn_getaddrinfo, pfn_freeaddrinfo): Now static.
This commit is contained in:
parent
ebe7c1b528
commit
82766b71a4
3 changed files with 6 additions and 4 deletions
|
@ -1565,9 +1565,10 @@ find_crlf (char *in_string, int len)
|
|||
/* The following 2 functions are only available since XP, so we load
|
||||
them dynamically and provide fallbacks. */
|
||||
|
||||
int (WINAPI *pfn_getaddrinfo) (const char *, const char *,
|
||||
const struct addrinfo *, struct addrinfo **);
|
||||
void (WINAPI *pfn_freeaddrinfo) (struct addrinfo *);
|
||||
static int (WINAPI *pfn_getaddrinfo) (const char *, const char *,
|
||||
const struct addrinfo *,
|
||||
struct addrinfo **);
|
||||
static void (WINAPI *pfn_freeaddrinfo) (struct addrinfo *);
|
||||
|
||||
static int
|
||||
load_ws2 (void)
|
||||
|
|
|
@ -937,7 +937,7 @@ void treesit_debug_print_linecol (struct ts_linecol);
|
|||
void
|
||||
treesit_debug_print_linecol (struct ts_linecol linecol)
|
||||
{
|
||||
printf ("{ line=%ld col=%ld bytepos=%ld }\n", linecol.line, linecol.col, linecol.bytepos);
|
||||
printf ("{ line=%td col=%td bytepos=%td }\n", linecol.line, linecol.col, linecol.bytepos);
|
||||
}
|
||||
|
||||
/* Returns true if BUF tracks linecol. */
|
||||
|
|
|
@ -266,6 +266,7 @@ extern AppendMenuW_Proc unicode_append_menu;
|
|||
static int ignore_ime_char = 0;
|
||||
|
||||
/* W95 mousewheel handler */
|
||||
extern unsigned int msh_mousewheel;
|
||||
unsigned int msh_mousewheel = 0;
|
||||
|
||||
/* Timers */
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue