A simpler, centralized INLINE.
authorPaul Eggert <eggert@cs.ucla.edu>
Fri, 20 Sep 2013 15:34:36 +0000 (08:34 -0700)
committerPaul Eggert <eggert@cs.ucla.edu>
Fri, 20 Sep 2013 15:34:36 +0000 (08:34 -0700)
commit00382e8b9834e58203507d0461884671b78ebc01
treecf28670199af0c1189cbcfbd14ffa49cbaaa0fba
parent2fd3a9f7491a59d427150fab0ad4df6ea12b3249
A simpler, centralized INLINE.

* lib-src/profile.c (INLINE): New macro.
(SYSTIME_INLINE): Remove.
* src/conf_post.h (INLINE): Define only if not already defined.
This allows us to use a single INLINE, defined by one file
per executable.
* src/emacs.c (INLINE): Define it.
Also, include category.h, charset.h, composite.h, dispextern.h,
syntax.h, systime.h, so that their INLINE definitions are expanded
properly for Emacs.
* src/blockinput.h, src/keyboard.c (BLOCKINPUT_INLINE):
* src/buffer.h, src/buffer.c (BUFFER_INLINE):
* src/category.h, src/category.c (CATEGORY_INLINE):
* src/character.h, src/character.c (CHARACTER_INLINE):
* src/charset.h, src/charset.c (CHARSET_INLINE):
* src/composite.h, src/composite.c (COMPOSITE_INLINE):
* src/dispextern.h, src/dispnew.c (DISPEXTERN_INLINE):
* src/frame.h, src/frame.c (FRAME_INLINE):
* src/intervals.h, src/intervals.c (INTERVALS_INLINE):
* src/keyboard.h, src/keyboard.c (KEYBOARD_INLINE):
* src/lisp.h, src/alloc.c (LISP_INLINE):
* src/process.h, src/process.c (PROCESS_INLINE):
* src/syntax.h, src/syntax.c (SYNTAX_INLINE):
* src/systime.h, src/sysdep.c (SYSTIME_INLINE):
* src/termhooks.h, src/terminal.h (TERMHOOKS_INLINE):
* src/window.h, src/window.c (WINDOW_INLINE):
Remove.  All uses replaced with INLINE.
36 files changed:
lib-src/ChangeLog
lib-src/profile.c
src/ChangeLog
src/alloc.c
src/blockinput.h
src/buffer.c
src/buffer.h
src/category.c
src/category.h
src/character.c
src/character.h
src/charset.c
src/charset.h
src/composite.c
src/composite.h
src/conf_post.h
src/dispextern.h
src/dispnew.c
src/emacs.c
src/frame.c
src/frame.h
src/intervals.c
src/intervals.h
src/keyboard.c
src/keyboard.h
src/lisp.h
src/process.c
src/process.h
src/syntax.c
src/syntax.h
src/sysdep.c
src/systime.h
src/termhooks.h
src/terminal.c
src/window.c
src/window.h