Add support for easily declaring static inline functions

Alvaro Herrera <alvherre@alvh.no-ip.org>

Commit: 976fa10d20ec9882229020fa16f4d74263066a40
Author: Alvaro Herrera <alvherre@alvh.no-ip.org>
Date: 2012-10-08T19:28:01Z
Releases: 9.3.0
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.

Files

PathChange+/−
src/backend/nodes/list.c modified +3 −25
src/backend/utils/mmgr/mcxt.c modified +3 −22
src/backend/utils/sort/sortsupport.c modified +3 −44
src/include/c.h modified +18 −0
src/include/nodes/pg_list.h modified +11 −11
src/include/utils/palloc.h modified +9 −5
src/include/utils/sortsupport.h modified +12 −10