diff options
author | Luke Leighton <lkcl@samba.org> | 1998-05-18 14:17:47 +0000 |
---|---|---|
committer | Luke Leighton <lkcl@samba.org> | 1998-05-18 14:17:47 +0000 |
commit | dea0c06eec44a7c2860f97d8f23584d30e482e0a (patch) | |
tree | f306aea3abca87f63e6b5791d494be778f00e2fe /source/passdb/ldap.c | |
parent | 381df1e52bfc97b80422de2703db8cb521dc47e1 (diff) | |
download | samba-dea0c06eec44a7c2860f97d8f23584d30e482e0a.tar.gz samba-dea0c06eec44a7c2860f97d8f23584d30e482e0a.tar.xz samba-dea0c06eec44a7c2860f97d8f23584d30e482e0a.zip |
resolving compilation errors
Diffstat (limited to 'source/passdb/ldap.c')
-rw-r--r-- | source/passdb/ldap.c | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/source/passdb/ldap.c b/source/passdb/ldap.c index 0804caf1a0b..af595d0c0a7 100644 --- a/source/passdb/ldap.c +++ b/source/passdb/ldap.c @@ -32,7 +32,7 @@ extern int DEBUGLEVEL; /******************************************************************* open a connection to the ldap serve. ******************************************************************/ -BOOL ldap_open_connection(LDAP **ldap_struct) +static BOOL ldap_open_connection(LDAP **ldap_struct) { if ( (*ldap_struct = ldap_open(lp_ldap_server(),lp_ldap_port()) ) == NULL) { @@ -922,4 +922,6 @@ BOOL setldappwpos(void *vp, unsigned long tok) return False; } +#else +static void dummy_function(void) { } /* stop some compilers complaining */ #endif |