aboutsummaryrefslogtreecommitdiff
path: root/src/backend/utils/adt/int.c
diff options
context:
space:
mode:
authorPeter Eisentraut <peter_e@gmx.net>2011-06-16 22:39:09 +0300
committerPeter Eisentraut <peter_e@gmx.net>2011-06-16 22:45:38 +0300
commitdbbba5279f66f95805c1e084e6f646d174931e56 (patch)
treeeddb454b3d39b17d2e25491d906a6b05b4ea4e18 /src/backend/utils/adt/int.c
parent78475b0ecac4e7793366d2dba0cb875a8fde6bb0 (diff)
downloadpostgresql-dbbba5279f66f95805c1e084e6f646d174931e56.tar.gz
postgresql-dbbba5279f66f95805c1e084e6f646d174931e56.zip
Start using flexible array members
Flexible array members are a C99 feature that avoids "cheating" in the declaration of variable-length arrays at the end of structs. With Autoconf support, this should be transparent for older compilers. We start with one use in gist.h because gcc 4.6 started to raise a warning there. Over time, it can be expanded to other places in the source, but they will likely need some review of sizeof and offsetof usage. The current change in gist.h appears to be safe in this regard.
Diffstat (limited to 'src/backend/utils/adt/int.c')
0 files changed, 0 insertions, 0 deletions