From: Luke Leighton Date: Tue, 8 Dec 1998 00:33:05 +0000 (+0000) Subject: ldap_getpw() also needs to be (void) X-Git-Tag: samba-2.2.5pre1~4891 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=f36cf3b6a70d0a91bce923ab51780d20d69e3bd6;p=thirdparty%2Fsamba.git ldap_getpw() also needs to be (void) --- diff --git a/source/include/proto.h b/source/include/proto.h index ae77d053ea8..0c4b25a21f1 100644 --- a/source/include/proto.h +++ b/source/include/proto.h @@ -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 */ diff --git a/source/passdb/ldap.c b/source/passdb/ldap.c index f3285f525d1..49f7e1d13a1 100644 --- a/source/passdb/ldap.c +++ b/source/passdb/ldap.c @@ -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;