mirror of
https://github.com/postgres/postgres.git
synced 2025-11-22 12:22:45 +03:00
Use FLEXIBLE_ARRAY_MEMBER in some more places.
Fix a batch of structs that are only visible within individual .c files. Michael Paquier
This commit is contained in:
@@ -130,7 +130,7 @@ typedef struct
|
||||
|
||||
int num_requests; /* current # of requests */
|
||||
int max_requests; /* allocated array size */
|
||||
CheckpointerRequest requests[1]; /* VARIABLE LENGTH ARRAY */
|
||||
CheckpointerRequest requests[FLEXIBLE_ARRAY_MEMBER];
|
||||
} CheckpointerShmemStruct;
|
||||
|
||||
static CheckpointerShmemStruct *CheckpointerShmem;
|
||||
|
||||
Reference in New Issue
Block a user