Location via proxy:   [ UP ]  
[Report a bug]   [Manage cookies]                
Skip to content

Commit 8bda213

Browse files
committed
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]
1 parent 9d9b9d4 commit 8bda213

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

src/backend/storage/ipc/procsignal.c

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -80,11 +80,11 @@ typedef struct
8080
*
8181
* psh_barrierGeneration is the highest barrier generation in existence.
8282
*/
83-
typedef struct ProcSignalHeader
83+
struct ProcSignalHeader
8484
{
8585
pg_atomic_uint64 psh_barrierGeneration;
8686
ProcSignalSlot psh_slot[FLEXIBLE_ARRAY_MEMBER];
87-
} ProcSignalHeader;
87+
};
8888

8989
/*
9090
* We reserve a slot for each possible ProcNumber, plus one for each

0 commit comments

Comments
 (0)