Skip to content

Commit 50dc615

Browse files
committed
Fix build without threads
* src/systhread.c (sys_thread_create) [!THREADS_ENABLED]: Update the function's signature to match prototype. Reported by Glenn Morris <[email protected]>. (Bug#38632)
1 parent 6cd9ccb commit 50dc615

File tree

1 file changed

+1
-2
lines changed

1 file changed

+1
-2
lines changed

src/systhread.c

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -83,8 +83,7 @@ sys_thread_equal (sys_thread_t t, sys_thread_t u)
8383
}
8484

8585
bool
86-
sys_thread_create (sys_thread_t *t, const char *name,
87-
thread_creation_function *func, void *datum)
86+
sys_thread_create (sys_thread_t *t, thread_creation_function *func, void *datum)
8887
{
8988
return false;
9089
}

0 commit comments

Comments
 (0)