diff options
Diffstat (limited to 'src')
| -rw-r--r-- | src/conf_post.h | 8 |
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 *); | |||
| 432 | 432 | ||
| 433 | #else | 433 | #else |
| 434 | 434 | ||
| 435 | /* Use 'static' instead of 'extern inline' because 'static' typically | 435 | /* Use 'static inline' instead of 'extern inline' because 'static inline' |
| 436 | has better performance for Emacs. Do not use the 'inline' keyword, | 436 | has much better performance for Emacs when compiled with 'gcc -Og'. */ |
| 437 | as modern compilers inline automatically. ATTRIBUTE_UNUSED | ||
| 438 | pacifies gcc -Wunused-function. */ | ||
| 439 | 437 | ||
| 440 | # ifndef INLINE | 438 | # ifndef INLINE |
| 441 | # define INLINE EXTERN_INLINE | 439 | # define INLINE EXTERN_INLINE |
| 442 | # endif | 440 | # endif |
| 443 | # define EXTERN_INLINE static ATTRIBUTE_UNUSED | 441 | # define EXTERN_INLINE static inline |
| 444 | # define INLINE_HEADER_BEGIN | 442 | # define INLINE_HEADER_BEGIN |
| 445 | # define INLINE_HEADER_END | 443 | # define INLINE_HEADER_END |
| 446 | 444 | ||