diff options
| author | Dmitry Stogov <dmitry@zend.com> | 2018-03-14 11:35:31 +0300 |
|---|---|---|
| committer | Dmitry Stogov <dmitry@zend.com> | 2018-03-14 11:35:31 +0300 |
| commit | 12baec3dfa10a4ae87d90b0c785403d5b2303230 (patch) | |
| tree | b22f08e4d3ef79f71e30cac6e57c975ce6bda119 /sapi/cli | |
| parent | 9dc666197662369f7341d5d7beec4a5ca87902a3 (diff) | |
| download | php-git-12baec3dfa10a4ae87d90b0c785403d5b2303230.tar.gz | |
Move constant array into read-only memory
Diffstat (limited to 'sapi/cli')
| -rw-r--r-- | sapi/cli/mime_type_map.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/sapi/cli/mime_type_map.h b/sapi/cli/mime_type_map.h index b937b6b96b..904ef86a20 100644 --- a/sapi/cli/mime_type_map.h +++ b/sapi/cli/mime_type_map.h @@ -27,7 +27,7 @@ typedef struct php_cli_server_ext_mime_type_pair { const char *mime_type; } php_cli_server_ext_mime_type_pair; -static php_cli_server_ext_mime_type_pair mime_type_map[] = { +static const php_cli_server_ext_mime_type_pair mime_type_map[] = { { "ez", "application/andrew-inset" }, { "aw", "application/applixware" }, { "atom", "application/atom+xml" }, |
