]> granicus.if.org Git - postgresql/commit
Relocate static function declarations to be after typedefs in jsonfuncs.c.
authorTom Lane <tgl@sss.pgh.pa.us>
Sun, 22 Jan 2017 19:08:26 +0000 (14:08 -0500)
committerTom Lane <tgl@sss.pgh.pa.us>
Sun, 22 Jan 2017 19:08:26 +0000 (14:08 -0500)
commit90992e0e2f9fc4aa0f6402f0327604e5fef4630c
tree8a041fce8859d21e8e1b83da87f50996ebe45e8d
parent0a8b9d3b2c57028f7100078cd711370f396d5a81
Relocate static function declarations to be after typedefs in jsonfuncs.c.

Project style is to put things in this order, for the good and sufficient
reason that you often need the typedefs in the function declarations.
There already was one function declaration that needed a typedef, which
was randomly placed away from all the other static function declarations
in consequence.  And the submitted patch for better json_populate_record
functionality jumped through even more hoops in order to preserve this
bad idea.

This patch only moves lines from point A to point B, no other changes.
src/backend/utils/adt/jsonfuncs.c