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)
pFad - Phonifier reborn

Pfad - The Proxy pFad of © 2024 Garber Painting. All rights reserved.

Note: This service is not intended for secure transactions such as banking, social media, email, or purchasing. Use at your own risk. We assume no liability whatsoever for broken pages.


Alternative Proxies:

Alternative Proxy

pFad Proxy

pFad v3 Proxy

pFad v4 Proxy