diff options
author | Nuno Lopes <nlopess@php.net> | 2008-01-25 20:20:07 +0000 |
---|---|---|
committer | Nuno Lopes <nlopess@php.net> | 2008-01-25 20:20:07 +0000 |
commit | 00e7f90796565d0428295e9065f4225a1188feab (patch) | |
tree | a8c5cf2f36a64be394a6abf290652a21436c9ec6 | |
parent | d9629182992bf66b038e20298a2181370a4b4f5f (diff) | |
download | php-git-00e7f90796565d0428295e9065f4225a1188feab.tar.gz |
const more 216 bytes (on a 32-bits host)
-rw-r--r-- | ext/filter/filter.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/ext/filter/filter.c b/ext/filter/filter.c index 6cb7c16010..491a379c6b 100644 --- a/ext/filter/filter.c +++ b/ext/filter/filter.c @@ -38,7 +38,7 @@ typedef struct filter_list_entry { } filter_list_entry; /* {{{ filter_list */ -filter_list_entry filter_list[] = { +static const filter_list_entry filter_list[] = { { "int", FILTER_VALIDATE_INT, php_filter_int }, { "boolean", FILTER_VALIDATE_BOOLEAN, php_filter_boolean }, { "float", FILTER_VALIDATE_FLOAT, php_filter_float }, @@ -79,7 +79,7 @@ static unsigned int php_sapi_filter(int arg, char *var, char **val, unsigned int /* {{{ filter_functions[] */ -const zend_function_entry filter_functions[] = { +static const zend_function_entry filter_functions[] = { PHP_FE(filter_input, NULL) PHP_FE(filter_var, NULL) PHP_FE(filter_input_array, NULL) |