/* 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)
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. */
static int ignore_ime_char = 0;
/* W95 mousewheel handler */
+extern unsigned int msh_mousewheel;
unsigned int msh_mousewheel = 0;
/* Timers */