summaryrefslogtreecommitdiffstats
path: root/source/passdb/ldap.c
diff options
context:
space:
mode:
authorLuke Leighton <lkcl@samba.org>1998-12-08 00:30:23 +0000
committerLuke Leighton <lkcl@samba.org>1998-12-08 00:30:23 +0000
commitf11eb4165836ce8d15a453d37c4e07913562d778 (patch)
tree075c67750450ac2845d89614f73dd67325af6b71 /source/passdb/ldap.c
parentd06d6369942828ec89e90f99bd0d0d3f91d61d13 (diff)
downloadsamba-f11eb4165836ce8d15a453d37c4e07913562d778.tar.gz
samba-f11eb4165836ce8d15a453d37c4e07913562d778.tar.xz
samba-f11eb4165836ce8d15a453d37c4e07913562d778.zip
compilation warnings due to missing (void) in ldap_close_connection.
Diffstat (limited to 'source/passdb/ldap.c')
-rw-r--r--source/passdb/ldap.c8
1 files changed, 6 insertions, 2 deletions
diff --git a/source/passdb/ldap.c b/source/passdb/ldap.c
index 2494cdecf85..f3285f525d1 100644
--- a/source/passdb/ldap.c
+++ b/source/passdb/ldap.c
@@ -40,7 +40,7 @@ static pstring ldap_secret;
/*******************************************************************
- Open/close connections to the LDAP server.
+ Open connections to the LDAP server.
******************************************************************/
BOOL ldap_open_connection(BOOL modify)
@@ -62,7 +62,11 @@ BOOL ldap_open_connection(BOOL modify)
return (True);
}
-void ldap_close_connection()
+/*******************************************************************
+ close connections to the LDAP server.
+ ******************************************************************/
+
+void ldap_close_connection(void)
{
if(!ldap_struct)
return;