diff options
| author | Heikki Linnakangas | 2024-02-23 15:39:27 +0000 |
|---|---|---|
| committer | Heikki Linnakangas | 2024-02-23 15:39:27 +0000 |
| commit | d360e3cc60e37d6d41ee78acf7bd5cb313b978c1 (patch) | |
| tree | 670ffb58e2c0d6810b72144846fdc07d5f233d4c /src/include | |
| parent | 8af256524893987a3e534c6578dd60edfb782a77 (diff) | |
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
Diffstat (limited to 'src/include')
| -rw-r--r-- | src/include/storage/bulk_write.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/src/include/storage/bulk_write.h b/src/include/storage/bulk_write.h index 6d4532d05e1..cf6f6fcb3f2 100644 --- a/src/include/storage/bulk_write.h +++ b/src/include/storage/bulk_write.h @@ -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; /* |
