From 50dc61509512a3caaa0a7a110af8578f8e360f37 Mon Sep 17 00:00:00 2001 From: Eli Zaretskii Date: Wed, 8 Jan 2020 20:53:00 +0200 Subject: [PATCH] Fix build without threads * src/systhread.c (sys_thread_create) [!THREADS_ENABLED]: Update the function's signature to match prototype. Reported by Glenn Morris . (Bug#38632) --- src/systhread.c | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/src/systhread.c b/src/systhread.c index 2c3a060a17e..5bd629946f9 100644 --- a/src/systhread.c +++ b/src/systhread.c @@ -83,8 +83,7 @@ sys_thread_equal (sys_thread_t t, sys_thread_t u) } bool -sys_thread_create (sys_thread_t *t, const char *name, - thread_creation_function *func, void *datum) +sys_thread_create (sys_thread_t *t, thread_creation_function *func, void *datum) { return false; } -- 2.39.2