summaryrefslogtreecommitdiff
path: root/ext/json/php_json_scanner.h
diff options
context:
space:
mode:
Diffstat (limited to 'ext/json/php_json_scanner.h')
-rw-r--r--ext/json/php_json_scanner.h4
1 files changed, 1 insertions, 3 deletions
diff --git a/ext/json/php_json_scanner.h b/ext/json/php_json_scanner.h
index 7a9356146c..e5a4979591 100644
--- a/ext/json/php_json_scanner.h
+++ b/ext/json/php_json_scanner.h
@@ -1,7 +1,5 @@
/*
+----------------------------------------------------------------------+
- | PHP Version 7 |
- +----------------------------------------------------------------------+
| Copyright (c) The PHP Group |
+----------------------------------------------------------------------+
| This source file is subject to version 3.01 of the PHP license, |
@@ -42,7 +40,7 @@ typedef struct _php_json_scanner {
} php_json_scanner;
-void php_json_scanner_init(php_json_scanner *scanner, char *str, size_t str_len, int options);
+void php_json_scanner_init(php_json_scanner *scanner, const char *str, size_t str_len, int options);
int php_json_scan(php_json_scanner *s);
#endif /* PHP_JSON_SCANNER_H */