From: Tom Tromey Date: Fri, 17 Aug 2012 13:16:16 +0000 (-0600) Subject: declare unbind_for_thread_switch and rebind_for_thread_switch in lisp.h X-Git-Tag: emacs-26.0.90~1144^2~17^2~76 X-Git-Url: http://git.eshelyaron.com/gitweb/?a=commitdiff_plain;h=abb9e9d865e156bb7ba28063a40a1e54608143b8;p=emacs.git declare unbind_for_thread_switch and rebind_for_thread_switch in lisp.h --- diff --git a/src/lisp.h b/src/lisp.h index f0c831852f6..34ecfe697d6 100644 --- a/src/lisp.h +++ b/src/lisp.h @@ -2969,6 +2969,8 @@ extern Lisp_Object internal_condition_case_n extern void specbind (Lisp_Object, Lisp_Object); extern void record_unwind_protect (Lisp_Object (*) (Lisp_Object), Lisp_Object); extern Lisp_Object unbind_to (ptrdiff_t, Lisp_Object); +extern void rebind_for_thread_switch (void); +extern void unbind_for_thread_switch (void); extern _Noreturn void error (const char *, ...) ATTRIBUTE_FORMAT_PRINTF (1, 2); extern _Noreturn void verror (const char *, va_list) ATTRIBUTE_FORMAT_PRINTF (1, 0); diff --git a/src/thread.c b/src/thread.c index be98b4aae1d..e492c576793 100644 --- a/src/thread.c +++ b/src/thread.c @@ -24,10 +24,6 @@ along with GNU Emacs. If not, see . */ #include "buffer.h" #include "process.h" -/* FIXME */ -extern void unbind_for_thread_switch (void); -extern void rebind_for_thread_switch (void); - static struct thread_state primary_thread; struct thread_state *current_thread = &primary_thread;