From 6b06ab5f9cf24df3de2829885d82dcccad388ab9 Mon Sep 17 00:00:00 2001 From: Michael Camilleri Date: Wed, 17 Sep 2025 15:51:53 +0900 Subject: [PATCH] Remove unused function on Windows --- src/core/ev.c | 7 +------ 1 file changed, 1 insertion(+), 6 deletions(-) diff --git a/src/core/ev.c b/src/core/ev.c index b3b7edf9..5e2b1044 100644 --- a/src/core/ev.c +++ b/src/core/ev.c @@ -607,12 +607,7 @@ void janet_ev_init_common(void) { #endif } -#ifdef JANET_WINDOWS -static VOID CALLBACK janet_timeout_stop(ULONG_PTR ptr) { - UNREFERENCED_PARAMETER(ptr); - ExitThread(0); -} -#elif JANET_ANDROID +#if JANET_ANDROID static void janet_timeout_stop(int sig_num) { if (sig_num == SIGUSR1) { pthread_exit(0);