mirror of
https://github.com/postgres/postgres.git
synced 2025-11-24 00:23:06 +03:00
Fix compiler warning on typedef redeclaration
bulk_write.c:78:3: error: redefinition of typedef 'BulkWriteState' is a C11 feature [-Werror,-Wtypedef-redefinition]
} BulkWriteState;
^
../../../../src/include/storage/bulk_write.h:20:31: note: previous definition is here
typedef struct BulkWriteState BulkWriteState;
^
1 error generated.
Per buildfarm animals 'sifaka' and 'longfin'.
Discussion: https://www.postgresql.org/message-id/9e1f63c3-ef16-404c-b3cb-859a96eaba39@iki.fi
This commit is contained in:
@@ -17,6 +17,7 @@
|
||||
#include "storage/smgr.h"
|
||||
#include "utils/rel.h"
|
||||
|
||||
/* Bulk writer state, contents are private to bulk_write.c */
|
||||
typedef struct BulkWriteState BulkWriteState;
|
||||
|
||||
/*
|
||||
|
||||
Reference in New Issue
Block a user