summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--src/conf_post.h8
1 files changed, 3 insertions, 5 deletions
diff --git a/src/conf_post.h b/src/conf_post.h
index eb8fb18c00c..79fb4cfe8a7 100644
--- a/src/conf_post.h
+++ b/src/conf_post.h
@@ -432,15 +432,13 @@ extern int emacs_setenv_TZ (char const *);
#else
-/* Use 'static' instead of 'extern inline' because 'static' typically
- has better performance for Emacs. Do not use the 'inline' keyword,
- as modern compilers inline automatically. ATTRIBUTE_UNUSED
- pacifies gcc -Wunused-function. */
+/* Use 'static inline' instead of 'extern inline' because 'static inline'
+ has much better performance for Emacs when compiled with 'gcc -Og'. */
# ifndef INLINE
# define INLINE EXTERN_INLINE
# endif
-# define EXTERN_INLINE static ATTRIBUTE_UNUSED
+# define EXTERN_INLINE static inline
# define INLINE_HEADER_BEGIN
# define INLINE_HEADER_END