emacs-diffs
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

emacs-27 50dc615: Fix build without threads


From: Eli Zaretskii
Subject: emacs-27 50dc615: Fix build without threads
Date: Wed, 8 Jan 2020 13:53:40 -0500 (EST)

branch: emacs-27
commit 50dc61509512a3caaa0a7a110af8578f8e360f37
Author: Eli Zaretskii <address@hidden>
Commit: Eli Zaretskii <address@hidden>

    Fix build without threads
    
    * src/systhread.c (sys_thread_create) [!THREADS_ENABLED]: Update
    the function's signature to match prototype.  Reported by Glenn
    Morris <address@hidden>.  (Bug#38632)
---
 src/systhread.c | 3 +--
 1 file changed, 1 insertion(+), 2 deletions(-)

diff --git a/src/systhread.c b/src/systhread.c
index 2c3a060..5bd6299 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;
 }



reply via email to

[Prev in Thread] Current Thread [Next in Thread]