1
0
mirror of https://github.com/postgres/postgres.git synced 2025-09-09 13:09:39 +03:00

Fix warnings re typedef redefinition in ea7b4e9a2a and 3311ea86ed

Per gripe from Tom Lane and the buildfarm
This commit is contained in:
Andrew Dunstan
2024-04-04 11:27:51 -04:00
parent 6f4d63e989
commit 1b00fe30a6
2 changed files with 11 additions and 6 deletions

View File

@@ -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);