Content-Length: 264424 | pFad | http://github.com/postgrespro/postgres/commit/8bda213ec1628737b500b6b04ec164aec354eb04

0F Fix compiler warning/error about typedef redefinitions · postgrespro/postgres@8bda213 · GitHub
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)








ApplySandwichStrip

pFad - (p)hone/(F)rame/(a)nonymizer/(d)eclutterfier!      Saves Data!


--- a PPN by Garber Painting Akron. With Image Size Reduction included!

Fetched URL: http://github.com/postgrespro/postgres/commit/8bda213ec1628737b500b6b04ec164aec354eb04

Alternative Proxies:

Alternative Proxy

pFad Proxy

pFad v3 Proxy

pFad v4 Proxy