]> git.eshelyaron.com Git - emacs.git/commitdiff
Fix build without threads
authorEli Zaretskii <eliz@gnu.org>
Wed, 8 Jan 2020 18:53:00 +0000 (20:53 +0200)
committerEli Zaretskii <eliz@gnu.org>
Wed, 8 Jan 2020 18:53:00 +0000 (20:53 +0200)
* 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)

src/systhread.c

index 2c3a060a17e9b3fc7addd42e4bbd66bd8791b8ff..5bd629946f99d7cde424d16b765102a298fd6690 100644 (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;
 }