mirror of
https://github.com/postgres/postgres.git
synced 2025-07-21 16:02:15 +03:00
Fix compiler warning/error about typedef redefinitions
Per buildfarm member 'sifaka': procsignal.c:87:3: error: redefinition of typedef 'ProcSignalHeader' is a C11 feature [-Werror,-Wtypedef-redefinition]
This commit is contained in:
@ -80,11 +80,11 @@ typedef struct
|
|||||||
*
|
*
|
||||||
* psh_barrierGeneration is the highest barrier generation in existence.
|
* psh_barrierGeneration is the highest barrier generation in existence.
|
||||||
*/
|
*/
|
||||||
typedef struct ProcSignalHeader
|
struct ProcSignalHeader
|
||||||
{
|
{
|
||||||
pg_atomic_uint64 psh_barrierGeneration;
|
pg_atomic_uint64 psh_barrierGeneration;
|
||||||
ProcSignalSlot psh_slot[FLEXIBLE_ARRAY_MEMBER];
|
ProcSignalSlot psh_slot[FLEXIBLE_ARRAY_MEMBER];
|
||||||
} ProcSignalHeader;
|
};
|
||||||
|
|
||||||
/*
|
/*
|
||||||
* We reserve a slot for each possible ProcNumber, plus one for each
|
* We reserve a slot for each possible ProcNumber, plus one for each
|
||||||
|
Reference in New Issue
Block a user