ldap_getpw() also needs to be (void)
authorLuke Leighton <lkcl@samba.org>
Tue, 8 Dec 1998 00:33:05 +0000 (00:33 +0000)
committerLuke Leighton <lkcl@samba.org>
Tue, 8 Dec 1998 00:33:05 +0000 (00:33 +0000)
(This used to be commit f36cf3b6a70d0a91bce923ab51780d20d69e3bd6)

source3/include/proto.h
source3/passdb/ldap.c

index ae77d053ea8087b106673b01f48d41e357ef9c00..0c4b25a21f1e4dd231dc2f365fd1dbff4c511f57 100644 (file)
@@ -1378,7 +1378,7 @@ BOOL ldap_search_for(char *filter);
 BOOL ldap_search_by_name(const char *user);
 BOOL ldap_search_by_uid(int uid);
 BOOL ldap_get_attribute(char *attribute, char *value);
-struct smb_passwd *ldap_getpw();
+struct smb_passwd *ldap_getpw(void);
 struct smb_passdb_ops *ldap_initialise_password_db(void);
 
 /*The following definitions come from  passdb/nispass.c  */
index f3285f525d1d860a3bc595a9196cfc033a397aa1..49f7e1d13a1b565d01c62fe6cecfbd3c85dca63a 100644 (file)
@@ -145,10 +145,9 @@ BOOL ldap_get_attribute(char *attribute, char *value)
 
 
 /*******************************************************************
-  Contruct an smb_passwd structure
+  Construct an smb_passwd structure
  ******************************************************************/
-
-struct smb_passwd *ldap_getpw()
+struct smb_passwd *ldap_getpw(void)
 {
        static struct smb_passwd smbpw;
        static pstring unix_name;