]> granicus.if.org Git - postgresql/commit
Add support for easily declaring static inline functions
authorAlvaro Herrera <alvherre@alvh.no-ip.org>
Mon, 8 Oct 2012 19:12:27 +0000 (16:12 -0300)
committerAlvaro Herrera <alvherre@alvh.no-ip.org>
Mon, 8 Oct 2012 19:28:01 +0000 (16:28 -0300)
commit976fa10d20ec9882229020fa16f4d74263066a40
treeb315437bd9ceda77924d1245ec9a74116573c43b
parent08c8058ce90cf4b2644cabfa7e5f66e9da8ddd7d
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.
src/backend/nodes/list.c
src/backend/utils/mmgr/mcxt.c
src/backend/utils/sort/sortsupport.c
src/include/c.h
src/include/nodes/pg_list.h
src/include/utils/palloc.h
src/include/utils/sortsupport.h