aboutsummaryrefslogtreecommitdiffstats
path: root/src/comp.h
diff options
context:
space:
mode:
authorPaul Eggert2022-03-19 12:35:04 -0700
committerPaul Eggert2022-03-19 12:48:54 -0700
commitccf4a4fa482f61938a9495c862b74f4a2d3ade0c (patch)
tree6c9f1b2172962fb0f723e3332f5261e1636faef8 /src/comp.h
parentc11b4758b7bd971fcbb824638a06f52c7768d268 (diff)
downloademacs-ccf4a4fa482f61938a9495c862b74f4a2d3ade0c.tar.gz
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/comp.h')
-rw-r--r--src/comp.h4
1 files changed, 4 insertions, 0 deletions
diff --git a/src/comp.h b/src/comp.h
index 40f1e9b979c..da53f32971e 100644
--- a/src/comp.h
+++ b/src/comp.h
@@ -53,6 +53,8 @@ struct Lisp_Native_Comp_Unit
53 53
54#ifdef HAVE_NATIVE_COMP 54#ifdef HAVE_NATIVE_COMP
55 55
56INLINE_HEADER_BEGIN
57
56INLINE bool 58INLINE bool
57NATIVE_COMP_UNITP (Lisp_Object a) 59NATIVE_COMP_UNITP (Lisp_Object a)
58{ 60{
@@ -99,6 +101,8 @@ void unload_comp_unit (struct Lisp_Native_Comp_Unit *cu)
99 101
100extern void syms_of_comp (void); 102extern void syms_of_comp (void);
101 103
104INLINE_HEADER_END
105
102#endif /* #ifdef HAVE_NATIVE_COMP */ 106#endif /* #ifdef HAVE_NATIVE_COMP */
103 107
104#endif /* #ifndef COMP_H */ 108#endif /* #ifndef COMP_H */