diff options
| author | Tom Tromey | 2012-08-17 07:16:16 -0600 |
|---|---|---|
| committer | Tom Tromey | 2012-08-17 07:16:16 -0600 |
| commit | abb9e9d865e156bb7ba28063a40a1e54608143b8 (patch) | |
| tree | 84257353b59ef4a28d07bfc29e7704498e8f0b70 /src | |
| parent | c26c68374458681aff122267af06d75e551bc474 (diff) | |
| download | emacs-abb9e9d865e156bb7ba28063a40a1e54608143b8.tar.gz emacs-abb9e9d865e156bb7ba28063a40a1e54608143b8.zip | |
declare unbind_for_thread_switch and rebind_for_thread_switch in lisp.h
Diffstat (limited to 'src')
| -rw-r--r-- | src/lisp.h | 2 | ||||
| -rw-r--r-- | src/thread.c | 4 |
2 files changed, 2 insertions, 4 deletions
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 | |||
| 2969 | extern void specbind (Lisp_Object, Lisp_Object); | 2969 | extern void specbind (Lisp_Object, Lisp_Object); |
| 2970 | extern void record_unwind_protect (Lisp_Object (*) (Lisp_Object), Lisp_Object); | 2970 | extern void record_unwind_protect (Lisp_Object (*) (Lisp_Object), Lisp_Object); |
| 2971 | extern Lisp_Object unbind_to (ptrdiff_t, Lisp_Object); | 2971 | extern Lisp_Object unbind_to (ptrdiff_t, Lisp_Object); |
| 2972 | extern void rebind_for_thread_switch (void); | ||
| 2973 | extern void unbind_for_thread_switch (void); | ||
| 2972 | extern _Noreturn void error (const char *, ...) ATTRIBUTE_FORMAT_PRINTF (1, 2); | 2974 | extern _Noreturn void error (const char *, ...) ATTRIBUTE_FORMAT_PRINTF (1, 2); |
| 2973 | extern _Noreturn void verror (const char *, va_list) | 2975 | extern _Noreturn void verror (const char *, va_list) |
| 2974 | ATTRIBUTE_FORMAT_PRINTF (1, 0); | 2976 | 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 <http://www.gnu.org/licenses/>. */ | |||
| 24 | #include "buffer.h" | 24 | #include "buffer.h" |
| 25 | #include "process.h" | 25 | #include "process.h" |
| 26 | 26 | ||
| 27 | /* FIXME */ | ||
| 28 | extern void unbind_for_thread_switch (void); | ||
| 29 | extern void rebind_for_thread_switch (void); | ||
| 30 | |||
| 31 | static struct thread_state primary_thread; | 27 | static struct thread_state primary_thread; |
| 32 | 28 | ||
| 33 | struct thread_state *current_thread = &primary_thread; | 29 | struct thread_state *current_thread = &primary_thread; |