summaryrefslogtreecommitdiff
path: root/ext/standard/dl.c
diff options
context:
space:
mode:
authorZeev Suraski <zeev@php.net>1999-04-24 00:12:00 +0000
committerZeev Suraski <zeev@php.net>1999-04-24 00:12:00 +0000
commit0818d96c97ceec4dbb8251c5220a2fdcdf39f355 (patch)
treec56f529e445e4bee928e7c28e0ccbb7f67572f16 /ext/standard/dl.c
parent05d24c60223439b94d4100538331fb6749022ca3 (diff)
downloadphp-git-0818d96c97ceec4dbb8251c5220a2fdcdf39f355.tar.gz
A lot of cleanups... Removed old thread-safe code and other redundant code and files
Diffstat (limited to 'ext/standard/dl.c')
-rw-r--r--ext/standard/dl.c7
1 files changed, 4 insertions, 3 deletions
diff --git a/ext/standard/dl.c b/ext/standard/dl.c
index 60ae23c2d6..7471634ab5 100644
--- a/ext/standard/dl.c
+++ b/ext/standard/dl.c
@@ -149,7 +149,7 @@ void php3_dl(pval *file,int type,pval *return_value)
}
/* update the .request_started property... */
- if (_php3_hash_find(&GLOBAL(module_registry),module_entry->name,strlen(module_entry->name)+1,(void **) &tmp)==FAILURE) {
+ if (_php3_hash_find(&module_registry,module_entry->name,strlen(module_entry->name)+1,(void **) &tmp)==FAILURE) {
php3_error(E_ERROR,"%s: Loaded module got lost",module_entry->name);
RETURN_FALSE;
}
@@ -159,8 +159,9 @@ void php3_dl(pval *file,int type,pval *return_value)
RETURN_TRUE;
}
-void php3_info_dl(void){
- TLS_VARS;
+
+void php3_info_dl(void)
+{
PUTS("Dynamic Library support enabled.\n");
}