aboutsummaryrefslogtreecommitdiff
path: root/src/include/utils/jsonpath_scanner.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/include/utils/jsonpath_scanner.h')
-rw-r--r--src/include/utils/jsonpath_scanner.h6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/include/utils/jsonpath_scanner.h b/src/include/utils/jsonpath_scanner.h
index bbdd984dab5..1c567717e84 100644
--- a/src/include/utils/jsonpath_scanner.h
+++ b/src/include/utils/jsonpath_scanner.h
@@ -13,13 +13,13 @@
#ifndef JSONPATH_SCANNER_H
#define JSONPATH_SCANNER_H
-/* struct string is shared between scan and gram */
-typedef struct string
+/* struct JsonPathString is shared between scan and gram */
+typedef struct JsonPathString
{
char *val;
int len;
int total;
-} string;
+} JsonPathString;
#include "utils/jsonpath.h"
#include "utils/jsonpath_gram.h"