Add support for easily declaring static inline functions

We already had those, but they forced modules to spell out the function
bodies twice.  Eliminate some duplicates we had already grown.

Extracted from a somewhat larger patch from Andres Freund.

Branch
------
master

Details
-------
http://git.postgresql.org/pg/commitdiff/976fa10d20ec9882229020fa16f4d74263066a40

Modified Files
--------------
src/backend/nodes/list.c             |   28 ++------------------
src/backend/utils/mmgr/mcxt.c        |   25 ++----------------
src/backend/utils/sort/sortsupport.c |   47 ++-------------------------------
src/include/c.h                      |   18 +++++++++++++
src/include/nodes/pg_list.h          |   22 ++++++++--------
src/include/utils/palloc.h           |   14 ++++++---
src/include/utils/sortsupport.h      |   22 ++++++++-------
7 files changed, 59 insertions(+), 117 deletions(-)


-- 
Sent via pgsql-committers mailing list ([email protected])
To make changes to your subscription:
http://www.postgresql.org/mailpref/pgsql-committers

Reply via email to