Introduce minimal C99 usage to verify compiler support.
Andres Freund <andres@anarazel.de>
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
| Path | Change | +/− |
|---|---|---|
| src/backend/storage/smgr/smgr.c | modified | +18 −3 |
| src/backend/tcop/postgres.c | modified | +7 −18 |
Discussion
- C99 compliance for src/port/snprintf.c 95 messages · 2018-08-14 → 2018-09-28