diff options
| author | Eli Zaretskii | 2020-01-08 20:53:00 +0200 |
|---|---|---|
| committer | Eli Zaretskii | 2020-01-08 20:53:00 +0200 |
| commit | 50dc61509512a3caaa0a7a110af8578f8e360f37 (patch) | |
| tree | fdc6392d045f0d0e676cf619d90eeb3be3baed6e | |
| parent | 6cd9ccb0a28ec03ffe180b7429e0378511b7d459 (diff) | |
| download | emacs-50dc61509512a3caaa0a7a110af8578f8e360f37.tar.gz emacs-50dc61509512a3caaa0a7a110af8578f8e360f37.zip | |
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)
| -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) | |||
| 83 | } | 83 | } |
| 84 | 84 | ||
| 85 | bool | 85 | bool |
| 86 | sys_thread_create (sys_thread_t *t, const char *name, | 86 | sys_thread_create (sys_thread_t *t, thread_creation_function *func, void *datum) |
| 87 | thread_creation_function *func, void *datum) | ||
| 88 | { | 87 | { |
| 89 | return false; | 88 | return false; |
| 90 | } | 89 | } |