diff options
| author | Zeev Suraski <zeev@php.net> | 1999-12-17 20:55:31 +0000 |
|---|---|---|
| committer | Zeev Suraski <zeev@php.net> | 1999-12-17 20:55:31 +0000 |
| commit | fb1c77bd4f8a636ba47d720f8ca65fc6baae836d (patch) | |
| tree | 1be0390e76d422f7abc36f577178f9683536fa84 /ext/standard/dl.c | |
| parent | 71dddd7db7e768ae8145e085fcbb6b6db4a1c40a (diff) | |
| download | php-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/standard/dl.c')
| -rw-r--r-- | ext/standard/dl.c | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/ext/standard/dl.c b/ext/standard/dl.c index e113249fd1..7e0e4e1f40 100644 --- a/ext/standard/dl.c +++ b/ext/standard/dl.c @@ -46,7 +46,7 @@ function_entry dl_functions[] = { }; -php3_module_entry dl_module_entry = { +zend_module_entry dl_module_entry = { "PHP_DL", dl_functions, NULL, NULL, NULL, NULL, PHP_MINFO(dl), STANDARD_MODULE_PROPERTIES }; @@ -84,8 +84,8 @@ void php_dl(pval *file,int type,pval *return_value) { void *handle; char libpath[MAXPATHLEN + 1]; - php3_module_entry *module_entry,*tmp; - php3_module_entry *(*get_module)(void); + zend_module_entry *module_entry,*tmp; + zend_module_entry *(*get_module)(void); PLS_FETCH(); if (cfg_get_string("extension_dir",&PG(extension_dir))==SUCCESS @@ -119,7 +119,7 @@ void php_dl(pval *file,int type,pval *return_value) #endif RETURN_FALSE; } - get_module = (php3_module_entry *(*)(void)) dlsym(handle, "get_module"); + get_module = (zend_module_entry *(*)(void)) dlsym(handle, "get_module"); if (!get_module) { dlclose(handle); |
