summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAndy Wingo <wingo@pobox.com>2018-06-20 14:40:52 +0200
committerAndy Wingo <wingo@pobox.com>2018-06-20 14:40:52 +0200
commit2b4ecafab8cb0d57b2a82ac650274b7b7ae7db83 (patch)
tree7bdef756e2c91d179e1d13497506962fd331333a
parentd04ff278f588411a447303354df9c05d1dd23473 (diff)
downloadguile-2b4ecafab8cb0d57b2a82ac650274b7b7ae7db83.tar.gz
Move SCM_C_INLINE_KEYWORD definition to inline.h
* libguile/__scm.h: * libguile/inline.h (SCM_C_INLINE_KEYWORD): Move this definition here.
-rw-r--r--libguile/__scm.h11
-rw-r--r--libguile/inline.h11
2 files changed, 11 insertions, 11 deletions
diff --git a/libguile/__scm.h b/libguile/__scm.h
index 2e45a319d..eae1afb6d 100644
--- a/libguile/__scm.h
+++ b/libguile/__scm.h
@@ -388,17 +388,6 @@ typedef long SCM_STACKITEM;
-/* Define SCM_C_INLINE_KEYWORD so that it can be used as a replacement
- for the "inline" keyword, expanding to nothing when "inline" is not
- available.
-*/
-
-#ifdef SCM_C_INLINE
-#define SCM_C_INLINE_KEYWORD SCM_C_INLINE
-#else
-#define SCM_C_INLINE_KEYWORD
-#endif
-
/* Handling thread-local storage (TLS). */
#ifdef SCM_HAVE_THREAD_STORAGE_CLASS
diff --git a/libguile/inline.h b/libguile/inline.h
index 4c1781375..7bafb0626 100644
--- a/libguile/inline.h
+++ b/libguile/inline.h
@@ -27,6 +27,17 @@
#include "libguile/__scm.h"
+/* Define SCM_C_INLINE_KEYWORD so that it can be used as a replacement
+ for the "inline" keyword, expanding to nothing when "inline" is not
+ available.
+*/
+
+#ifdef SCM_C_INLINE
+#define SCM_C_INLINE_KEYWORD SCM_C_INLINE
+#else
+#define SCM_C_INLINE_KEYWORD
+#endif
+
/* We would like gnu89 extern inline semantics, not C99 extern inline
semantics, so that we can be sure to avoid reifying definitions of
inline functions in all compilation units, which is a possibility at