aboutsummaryrefslogtreecommitdiff
path: root/src/common/parse_manifest.c
diff options
context:
space:
mode:
authorAndrew Dunstan <andrew@dunslane.net>2024-04-04 11:27:51 -0400
committerAndrew Dunstan <andrew@dunslane.net>2024-04-04 11:36:26 -0400
commit1b00fe30a67774e55c5fc776096a3c96f1a147d2 (patch)
tree57de2f4658efff82150d768f1fdf1cf280f08401 /src/common/parse_manifest.c
parent6f4d63e989ffbdb44f5856a17fae5ae68c40327d (diff)
downloadpostgresql-1b00fe30a67774e55c5fc776096a3c96f1a147d2.tar.gz
postgresql-1b00fe30a67774e55c5fc776096a3c96f1a147d2.zip
Fix warnings re typedef redefinition in ea7b4e9a2a and 3311ea86ed
Per gripe from Tom Lane and the buildfarm
Diffstat (limited to 'src/common/parse_manifest.c')
-rw-r--r--src/common/parse_manifest.c5
1 files changed, 3 insertions, 2 deletions
diff --git a/src/common/parse_manifest.c b/src/common/parse_manifest.c
index 040c5597df4..970a756ce8a 100644
--- a/src/common/parse_manifest.c
+++ b/src/common/parse_manifest.c
@@ -91,12 +91,13 @@ typedef struct
char *manifest_checksum;
} JsonManifestParseState;
-typedef struct JsonManifestParseIncrementalState
+/* typedef appears in parse_manifest.h */
+struct JsonManifestParseIncrementalState
{
JsonLexContext lex;
JsonSemAction sem;
pg_cryptohash_ctx *manifest_ctx;
-} JsonManifestParseIncrementalState;
+};
static JsonParseErrorType json_manifest_object_start(void *state);
static JsonParseErrorType json_manifest_object_end(void *state);