diff options
author | Nuno Lopes <nlopess@php.net> | 2006-08-14 20:08:18 +0000 |
---|---|---|
committer | Nuno Lopes <nlopess@php.net> | 2006-08-14 20:08:18 +0000 |
commit | ddb4d1fdcc2162edd7432080b117eaae6e24eb87 (patch) | |
tree | 8ab7c292e00edbe8ed2b9c1514894005e604a272 /ext/pspell | |
parent | 8657927354c6c03320f7733b5859cd5272712b33 (diff) | |
download | php-git-ddb4d1fdcc2162edd7432080b117eaae6e24eb87.tar.gz |
move static declaration to *.c files
mroe static/const keywording
Diffstat (limited to 'ext/pspell')
-rw-r--r-- | ext/pspell/php_pspell.h | 22 | ||||
-rw-r--r-- | ext/pspell/pspell.c | 24 |
2 files changed, 23 insertions, 23 deletions
diff --git a/ext/pspell/php_pspell.h b/ext/pspell/php_pspell.h index 5fb8447bbe..70d3ac0188 100644 --- a/ext/pspell/php_pspell.h +++ b/ext/pspell/php_pspell.h @@ -23,28 +23,6 @@ #if HAVE_PSPELL extern zend_module_entry pspell_module_entry; #define pspell_module_ptr &pspell_module_entry - -static PHP_MINIT_FUNCTION(pspell); -static PHP_MINFO_FUNCTION(pspell); -static PHP_FUNCTION(pspell_new); -static PHP_FUNCTION(pspell_new_personal); -static PHP_FUNCTION(pspell_new_config); -static PHP_FUNCTION(pspell_check); -static PHP_FUNCTION(pspell_suggest); -static PHP_FUNCTION(pspell_store_replacement); -static PHP_FUNCTION(pspell_add_to_personal); -static PHP_FUNCTION(pspell_add_to_session); -static PHP_FUNCTION(pspell_clear_session); -static PHP_FUNCTION(pspell_save_wordlist); -static PHP_FUNCTION(pspell_config_create); -static PHP_FUNCTION(pspell_config_runtogether); -static PHP_FUNCTION(pspell_config_mode); -static PHP_FUNCTION(pspell_config_ignore); -static PHP_FUNCTION(pspell_config_personal); -static PHP_FUNCTION(pspell_config_dict_dir); -static PHP_FUNCTION(pspell_config_data_dir); -static PHP_FUNCTION(pspell_config_repl); -static PHP_FUNCTION(pspell_config_save_repl); #else #define pspell_module_ptr NULL #endif diff --git a/ext/pspell/pspell.c b/ext/pspell/pspell.c index a0ddad4034..be4076fc3a 100644 --- a/ext/pspell/pspell.c +++ b/ext/pspell/pspell.c @@ -50,9 +50,31 @@ */ #define PSPELL_LARGEST_WORD 3 +static PHP_MINIT_FUNCTION(pspell); +static PHP_MINFO_FUNCTION(pspell); +static PHP_FUNCTION(pspell_new); +static PHP_FUNCTION(pspell_new_personal); +static PHP_FUNCTION(pspell_new_config); +static PHP_FUNCTION(pspell_check); +static PHP_FUNCTION(pspell_suggest); +static PHP_FUNCTION(pspell_store_replacement); +static PHP_FUNCTION(pspell_add_to_personal); +static PHP_FUNCTION(pspell_add_to_session); +static PHP_FUNCTION(pspell_clear_session); +static PHP_FUNCTION(pspell_save_wordlist); +static PHP_FUNCTION(pspell_config_create); +static PHP_FUNCTION(pspell_config_runtogether); +static PHP_FUNCTION(pspell_config_mode); +static PHP_FUNCTION(pspell_config_ignore); +static PHP_FUNCTION(pspell_config_personal); +static PHP_FUNCTION(pspell_config_dict_dir); +static PHP_FUNCTION(pspell_config_data_dir); +static PHP_FUNCTION(pspell_config_repl); +static PHP_FUNCTION(pspell_config_save_repl); + /* {{{ pspell_functions[] */ -zend_function_entry pspell_functions[] = { +static zend_function_entry pspell_functions[] = { PHP_FE(pspell_new, NULL) PHP_FE(pspell_new_personal, NULL) PHP_FE(pspell_new_config, NULL) |