diff options
author | Paul Eggert <eggert@cs.ucla.edu> | 2022-03-19 12:35:04 -0700 |
---|---|---|
committer | Paul Eggert <eggert@cs.ucla.edu> | 2022-03-19 12:48:54 -0700 |
commit | ccf4a4fa482f61938a9495c862b74f4a2d3ade0c (patch) | |
tree | 6c9f1b2172962fb0f723e3332f5261e1636faef8 /src/thread.h | |
parent | c11b4758b7bd971fcbb824638a06f52c7768d268 (diff) | |
download | emacs-ccf4a4fa482f61938a9495c862b74f4a2d3ade0c.tar.gz emacs-ccf4a4fa482f61938a9495c862b74f4a2d3ade0c.tar.bz2 emacs-ccf4a4fa482f61938a9495c862b74f4a2d3ade0c.zip |
Port to gcc -D EMACS_EXTERN_INLINE
* src/comp.h, src/thread.h: Add INLINE_HEADER_BEGIN and
INLINE_HEADER_END, since it uses INLINE.
* src/emacs.c: Include these two files.
Diffstat (limited to 'src/thread.h')
-rw-r--r-- | src/thread.h | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/src/thread.h b/src/thread.h index ddba1a2d994..b34ca3d57c8 100644 --- a/src/thread.h +++ b/src/thread.h @@ -33,6 +33,8 @@ along with GNU Emacs. If not, see <https://www.gnu.org/licenses/>. */ #include "sysselect.h" /* FIXME */ #include "systhread.h" +INLINE_HEADER_BEGIN + /* Byte-code interpreter thread state. */ struct bc_thread_state { struct bc_frame *fp; /* current frame pointer */ @@ -194,6 +196,8 @@ struct thread_state struct bc_thread_state bc; } GCALIGNED_STRUCT; +INLINE_HEADER_BEGIN + INLINE bool THREADP (Lisp_Object a) { @@ -315,4 +319,6 @@ int thread_select (select_func *func, int max_fds, fd_set *rfds, bool thread_check_current_buffer (struct buffer *); +INLINE_HEADER_END + #endif /* THREAD_H */ |