pgsql: Change StaticAssertVariableIsOfType to be a declaration

Started by Peter Eisentraut6 months ago1 messagescomitters
Jump to latest
#1Peter Eisentraut
peter_e@gmx.net

Change StaticAssertVariableIsOfType to be a declaration

This allows moving the uses to more natural and useful positions.
Also, a declaration is the more native use of static assertions in C.

Reviewed-by: Bertrand Drouvot <bertranddrouvot.pg@gmail.com>
Discussion: /messages/by-id/2273bc2a-045d-4a75-8584-7cd9396e5534@eisentraut.org

Branch
------
master

Details
-------
https://git.postgresql.org/pg/commitdiff/955e50766869a5ccf862d7f8439f5d35b723c0f9

Modified Files
--------------
contrib/hstore_plperl/hstore_plperl.c | 13 +++++++------
contrib/hstore_plpython/hstore_plpython.c | 17 +++++++++--------
contrib/jsonb_plpython/jsonb_plpython.c | 10 ++++++----
contrib/ltree_plpython/ltree_plpython.c | 5 +++--
src/include/c.h | 6 +++---
5 files changed, 28 insertions(+), 23 deletions(-)