Introduce minimal C99 usage to verify compiler support.

Andres Freund <andres@anarazel.de>

Commit: 143290efd0795b61ed2c8358fc1767e799140047
Author: Andres Freund <andres@anarazel.de>
Date: 2018-08-24T01:36:07Z
Releases: 12.0
Introduce minimal C99 usage to verify compiler support.

This just converts a few for loops in postgres.c to declare variables
in the loop initializer, and uses designated initializers in smgr.c's
definition of smgr callbacks.

Author: Andres Freund
Discussion: https://postgr.es/m/97d4b165-192d-3605-749c-f614a0c4e783@2ndquadrant.com

Files

PathChange+/−
src/backend/storage/smgr/smgr.c modified +18 −3
src/backend/tcop/postgres.c modified +7 −18

Discussion