compilation warnings due to missing (void) in ldap_close_connection.
authorLuke Leighton <lkcl@samba.org>
Tue, 8 Dec 1998 00:30:23 +0000 (00:30 +0000)
committerLuke Leighton <lkcl@samba.org>
Tue, 8 Dec 1998 00:30:23 +0000 (00:30 +0000)
source/include/proto.h
source/passdb/ldap.c

index f237c08999b416713d6a455332332dcf501ef793..ae77d053ea8087b106673b01f48d41e357ef9c00 100644 (file)
@@ -1373,7 +1373,7 @@ BOOL pm_process( char *FileName,
 /*The following definitions come from  passdb/ldap.c  */
 
 BOOL ldap_open_connection(BOOL modify);
-void ldap_close_connection();
+void ldap_close_connection(void);
 BOOL ldap_search_for(char *filter);
 BOOL ldap_search_by_name(const char *user);
 BOOL ldap_search_by_uid(int uid);
index 2494cdecf85e3a2be8be937d9e7205f424e765e2..f3285f525d1d860a3bc595a9196cfc033a397aa1 100644 (file)
@@ -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;