diff options
author | Luke Leighton <lkcl@samba.org> | 1998-12-08 00:33:05 +0000 |
---|---|---|
committer | Luke Leighton <lkcl@samba.org> | 1998-12-08 00:33:05 +0000 |
commit | 3cca46f27e68360d6c2ba7e481fe3858adb978cc (patch) | |
tree | da496a922fcd7f673c7fec4284a4fc9622b0ce6c /source3 | |
parent | 0125141f8681a837a8f4ee9e66d9f5d2488cb2db (diff) | |
download | samba-3cca46f27e68360d6c2ba7e481fe3858adb978cc.tar.gz samba-3cca46f27e68360d6c2ba7e481fe3858adb978cc.tar.bz2 samba-3cca46f27e68360d6c2ba7e481fe3858adb978cc.zip |
ldap_getpw() also needs to be (void)
(This used to be commit f36cf3b6a70d0a91bce923ab51780d20d69e3bd6)
Diffstat (limited to 'source3')
-rw-r--r-- | source3/include/proto.h | 2 | ||||
-rw-r--r-- | source3/passdb/ldap.c | 5 |
2 files changed, 3 insertions, 4 deletions
diff --git a/source3/include/proto.h b/source3/include/proto.h index ae77d053ea..0c4b25a21f 100644 --- a/source3/include/proto.h +++ b/source3/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/source3/passdb/ldap.c b/source3/passdb/ldap.c index f3285f525d..49f7e1d13a 100644 --- a/source3/passdb/ldap.c +++ b/source3/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; |