diff options
author | Eli Zaretskii <eliz@gnu.org> | 2020-01-08 20:53:00 +0200 |
---|---|---|
committer | Eli Zaretskii <eliz@gnu.org> | 2020-01-08 20:53:00 +0200 |
commit | 50dc61509512a3caaa0a7a110af8578f8e360f37 (patch) | |
tree | fdc6392d045f0d0e676cf619d90eeb3be3baed6e /src/systhread.c | |
parent | 6cd9ccb0a28ec03ffe180b7429e0378511b7d459 (diff) | |
download | emacs-50dc61509512a3caaa0a7a110af8578f8e360f37.tar.gz |
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)
Diffstat (limited to 'src/systhread.c')
-rw-r--r-- | src/systhread.c | 3 |
1 files changed, 1 insertions, 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; } |