summaryrefslogtreecommitdiff
path: root/ext/ldap/ldap.c
diff options
context:
space:
mode:
authorRasmus Lerdorf <rasmus@php.net>1999-04-23 03:28:47 +0000
committerRasmus Lerdorf <rasmus@php.net>1999-04-23 03:28:47 +0000
commitcad2318a549dff68a7c4d36b5b6b8924f57e6547 (patch)
tree8005d6ec7d40391acdba7b031d9a0361cc6a2e05 /ext/ldap/ldap.c
parent551fe7780b570701e93d4680f677801f39e41b49 (diff)
downloadphp-git-cad2318a549dff68a7c4d36b5b6b8924f57e6547.tar.gz
Module work
Diffstat (limited to 'ext/ldap/ldap.c')
-rw-r--r--ext/ldap/ldap.c15
1 files changed, 2 insertions, 13 deletions
diff --git a/ext/ldap/ldap.c b/ext/ldap/ldap.c
index b4bc182982..2d0a470fd9 100644
--- a/ext/ldap/ldap.c
+++ b/ext/ldap/ldap.c
@@ -49,15 +49,8 @@ void *ldap_mutex;
#if HAVE_LDAP
-#if COMPILE_DL
-#if PHP_31
-#include "ext/phpdl.h"
-#include "ext/standard/dl.h"
-#else
#include "dl/phpdl.h"
-#include "functions/dl.h"
-#endif
-#endif
+#include "ext/standard/dl.h"
#include "php3_ldap.h"
#if WIN32|WINNT
@@ -73,11 +66,7 @@ void *ldap_mutex;
#define __STDC__ 1
#endif
-#if PHP_31
#include "ext/standard/php3_string.h"
-#else
-#include "functions/php3_string.h"
-#endif
#if THREAD_SAFE & HAVE_NSLDAP
@@ -268,7 +257,7 @@ int php3_minit_ldap(INIT_FUNC_ARGS)
return SUCCESS;
}
-int php3_mshutdown_ldap(void){
+int php3_mshutdown_ldap(SHUTDOWN_FUNC_ARGS) {
#ifdef THREAD_SAFE
LDAP_TLS_VARS;
PHP3_TLS_THREAD_FREE(php3_ldap_module);