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 | 646ab2b0a773592a5973ce78fecfb24b39aa2506 (patch) | |
tree | ab0b0bea789a68923fbb4de508b4ce528dc74c8e /source3/passdb/ldap.c | |
parent | 648ceb2f2ed5c9c029cf85f22f0dfccdd915ab12 (diff) | |
download | samba-646ab2b0a773592a5973ce78fecfb24b39aa2506.tar.gz samba-646ab2b0a773592a5973ce78fecfb24b39aa2506.tar.xz samba-646ab2b0a773592a5973ce78fecfb24b39aa2506.zip |
resolving compilation errors
(This used to be commit dea0c06eec44a7c2860f97d8f23584d30e482e0a)
Diffstat (limited to 'source3/passdb/ldap.c')
-rw-r--r-- | source3/passdb/ldap.c | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/source3/passdb/ldap.c b/source3/passdb/ldap.c index 0804caf1a0b..af595d0c0a7 100644 --- a/source3/passdb/ldap.c +++ b/source3/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 |