summaryrefslogtreecommitdiff
path: root/ext/aspell
diff options
context:
space:
mode:
authorZeev Suraski <zeev@php.net>1999-12-17 21:13:15 +0000
committerZeev Suraski <zeev@php.net>1999-12-17 21:13:15 +0000
commit66f5e500504db274a87d1e8fb41f745e1e484cca (patch)
tree8faaaac47d26b4126a91cd45e4ad396247680807 /ext/aspell
parent2d0b84ee3021e171007fe2f35043c012580483cf (diff)
downloadphp-git-66f5e500504db274a87d1e8fb41f745e1e484cca.tar.gz
More cleanup...
Diffstat (limited to 'ext/aspell')
-rw-r--r--ext/aspell/aspell.c12
-rw-r--r--ext/aspell/php_aspell.h1
2 files changed, 7 insertions, 6 deletions
diff --git a/ext/aspell/aspell.c b/ext/aspell/aspell.c
index c96213b381..6e89125578 100644
--- a/ext/aspell/aspell.c
+++ b/ext/aspell/aspell.c
@@ -55,16 +55,18 @@ zend_module_entry aspell_module_entry = {
DLEXPORT zend_module_entry *get_module(void) { return &aspell_module_entry; }
#endif
+static void php_aspell_close(aspell *sc)
+{
+ aspell_free(sc);
+}
+
+
PHP_MINIT_FUNCTION(aspell)
{
- le_aspell = register_list_destructors(php3_aspell_close,NULL);
+ le_aspell = register_list_destructors(php_aspell_close,NULL);
return SUCCESS;
}
-void php3_aspell_close(aspell *sc)
-{
- aspell_free(sc);
-}
/* {{{ proto int aspell_new(string master[, string personal])
Load a dictionary */
diff --git a/ext/aspell/php_aspell.h b/ext/aspell/php_aspell.h
index 787412dddb..cdc0ce4177 100644
--- a/ext/aspell/php_aspell.h
+++ b/ext/aspell/php_aspell.h
@@ -38,7 +38,6 @@ extern zend_module_entry aspell_module_entry;
extern PHP_MINIT_FUNCTION(aspell);
extern PHP_MINFO_FUNCTION(aspell);
-extern void php3_aspell_close();
PHP_FUNCTION(aspell_new);
PHP_FUNCTION(aspell_check);