1
Fork 0
mirror of git://git.sv.gnu.org/emacs.git synced 2026-01-11 22:11:21 -08:00

Fix build without threads

* src/systhread.c (sys_thread_create) [!THREADS_ENABLED]: Update
the function's signature to match prototype.  Reported by Glenn
Morris <rgm@gnu.org>.  (Bug#38632)
This commit is contained in:
Eli Zaretskii 2020-01-08 20:53:00 +02:00
parent 6cd9ccb0a2
commit 50dc615095

View file

@ -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;
}