aboutsummaryrefslogtreecommitdiff
path: root/src/backend/storage/buffer
diff options
context:
space:
mode:
authorTom Lane <tgl@sss.pgh.pa.us>2015-02-21 16:12:14 -0500
committerTom Lane <tgl@sss.pgh.pa.us>2015-02-21 16:12:14 -0500
commit2e211211a76782b6084194a5ced94c0795460047 (patch)
treef98c4ff74b421ecb675e5192c0c1759546d22a86 /src/backend/storage/buffer
parente1a11d93111ff3fba7a91f3f2ac0b0aca16909a8 (diff)
downloadpostgresql-2e211211a76782b6084194a5ced94c0795460047.tar.gz
postgresql-2e211211a76782b6084194a5ced94c0795460047.zip
Use FLEXIBLE_ARRAY_MEMBER in a number of other places.
I think we're about done with this...
Diffstat (limited to 'src/backend/storage/buffer')
-rw-r--r--src/backend/storage/buffer/freelist.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/backend/storage/buffer/freelist.c b/src/backend/storage/buffer/freelist.c
index 0d1cbd15531..f0d23d68582 100644
--- a/src/backend/storage/buffer/freelist.c
+++ b/src/backend/storage/buffer/freelist.c
@@ -93,7 +93,7 @@ typedef struct BufferAccessStrategyData
* simplicity this is palloc'd together with the fixed fields of the
* struct.
*/
- Buffer buffers[1]; /* VARIABLE SIZE ARRAY */
+ Buffer buffers[FLEXIBLE_ARRAY_MEMBER];
} BufferAccessStrategyData;