diff options
| author | Peter Eisentraut <peter@eisentraut.org> | 2024-07-02 06:53:19 +0200 |
|---|---|---|
| committer | Peter Eisentraut <peter@eisentraut.org> | 2024-07-02 07:26:22 +0200 |
| commit | 720b0eaae9b8a8326b2b6a6ff88fca4f47c631d4 (patch) | |
| tree | 9e398e3bb3e6a229ed1007cff5f79192230dea71 /src/test/modules/test_json_parser | |
| parent | a4c87df43a45a407a1f3fd584a7ffb32342628cc (diff) | |
Convert some extern variables to static
These probably should have been static all along, it was only
forgotten out of sloppiness.
Reviewed-by: Andres Freund <andres@anarazel.de>
Discussion: https://www.postgresql.org/message-id/flat/e0a62134-83da-4ba4-8cdb-ceb0111c95ce@eisentraut.org
Diffstat (limited to 'src/test/modules/test_json_parser')
| -rw-r--r-- | src/test/modules/test_json_parser/test_json_parser_incremental.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/test/modules/test_json_parser/test_json_parser_incremental.c b/src/test/modules/test_json_parser/test_json_parser_incremental.c index 7cd3dcf276b..f4c442ac365 100644 --- a/src/test/modules/test_json_parser/test_json_parser_incremental.c +++ b/src/test/modules/test_json_parser/test_json_parser_incremental.c @@ -60,7 +60,7 @@ static JsonParseErrorType do_array_element_start(void *state, bool isnull); static JsonParseErrorType do_array_element_end(void *state, bool isnull); static JsonParseErrorType do_scalar(void *state, char *token, JsonTokenType tokentype); -JsonSemAction sem = { +static JsonSemAction sem = { .object_start = do_object_start, .object_end = do_object_end, .object_field_start = do_object_field_start, |
