summaryrefslogtreecommitdiff
path: root/ext/aspell
diff options
context:
space:
mode:
authorZeev Suraski <zeev@php.net>1999-12-17 20:55:31 +0000
committerZeev Suraski <zeev@php.net>1999-12-17 20:55:31 +0000
commitfb1c77bd4f8a636ba47d720f8ca65fc6baae836d (patch)
tree1be0390e76d422f7abc36f577178f9683536fa84 /ext/aspell
parent71dddd7db7e768ae8145e085fcbb6b6db4a1c40a (diff)
downloadphp-git-fb1c77bd4f8a636ba47d720f8ca65fc6baae836d.tar.gz
- Made PHP_VERSION and PHP_OS work again
- More php3_ cleanup @- Restored the PHP_VERSION and PHP_OS constants (Zeev)
Diffstat (limited to 'ext/aspell')
-rw-r--r--ext/aspell/aspell.c4
-rw-r--r--ext/aspell/php_aspell.h2
2 files changed, 3 insertions, 3 deletions
diff --git a/ext/aspell/aspell.c b/ext/aspell/aspell.c
index 9d168afafc..c96213b381 100644
--- a/ext/aspell/aspell.c
+++ b/ext/aspell/aspell.c
@@ -46,13 +46,13 @@ function_entry aspell_functions[] = {
static int le_aspell;
-php3_module_entry aspell_module_entry = {
+zend_module_entry aspell_module_entry = {
"Aspell", aspell_functions, PHP_MINIT(aspell), NULL, NULL, NULL, PHP_MINFO(aspell), STANDARD_MODULE_PROPERTIES
};
#if COMPILE_DL
-DLEXPORT php3_module_entry *get_module(void) { return &aspell_module_entry; }
+DLEXPORT zend_module_entry *get_module(void) { return &aspell_module_entry; }
#endif
PHP_MINIT_FUNCTION(aspell)
diff --git a/ext/aspell/php_aspell.h b/ext/aspell/php_aspell.h
index d0c8b35a82..787412dddb 100644
--- a/ext/aspell/php_aspell.h
+++ b/ext/aspell/php_aspell.h
@@ -33,7 +33,7 @@
#ifndef _ASPELL_H
#define _ASPELL_H
#if HAVE_ASPELL
-extern php3_module_entry aspell_module_entry;
+extern zend_module_entry aspell_module_entry;
#define aspell_module_ptr &aspell_module_entry
extern PHP_MINIT_FUNCTION(aspell);