summaryrefslogtreecommitdiff
path: root/ext/json/json.c
diff options
context:
space:
mode:
Diffstat (limited to 'ext/json/json.c')
-rw-r--r--ext/json/json.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/ext/json/json.c b/ext/json/json.c
index 283021b365..b3e7fa13a5 100644
--- a/ext/json/json.c
+++ b/ext/json/json.c
@@ -41,7 +41,7 @@ static const char digits[] = "0123456789abcdef";
*
* Every user visible function must have an entry in json_functions[].
*/
-static function_entry json_functions[] = {
+static const function_entry json_functions[] = {
PHP_FE(json_encode, NULL)
PHP_FE(json_decode, NULL)
{NULL, NULL, NULL} /* Must be the last line in json_functions[] */