summaryrefslogtreecommitdiff
path: root/src/lisp.h
diff options
context:
space:
mode:
authorPaul Eggert <eggert@cs.ucla.edu>2016-12-30 13:01:39 -0800
committerPaul Eggert <eggert@cs.ucla.edu>2016-12-30 13:05:25 -0800
commit966d51592f07ad9de6afebcd828e667cce0f6a27 (patch)
treeae5ee7c99718abec1304682f43b620a1c00ddd06 /src/lisp.h
parentaef40049e3b81972703d3bde47b0961bcb08d7e1 (diff)
downloademacs-966d51592f07ad9de6afebcd828e667cce0f6a27.tar.gz
Rename main_thread to main_thread_id and simplify
* src/emacs-module.c: Include syssignal.h, for main_thread_id. [HAVE_PTHREAD]: Do not include pthread.h. (main_thread): Remove. All uses replaced by main_thread_id, or by dwMainThreadId on NT. Since the HAVE_PTHREAD code is now using the main_thread_id established by sysdep.c, there is no need for a separate copy of the main thread ID here. (module_init): Remove. All uses removed. * src/sysdep.c (main_thread_id) [HAVE_PTHREAD]: Rename from main_thread. All uses changed. Now extern.
Diffstat (limited to 'src/lisp.h')
-rw-r--r--src/lisp.h1
1 files changed, 0 insertions, 1 deletions
diff --git a/src/lisp.h b/src/lisp.h
index 1a586cab0d0..84963086216 100644
--- a/src/lisp.h
+++ b/src/lisp.h
@@ -3880,7 +3880,6 @@ extern bool let_shadows_global_binding_p (Lisp_Object symbol);
extern Lisp_Object make_user_ptr (void (*finalizer) (void *), void *p);
/* Defined in emacs-module.c. */
-extern void module_init (void);
extern void syms_of_module (void);
#endif