mirror of
https://github.com/samba-team/samba.git
synced 2024-12-22 13:34:15 +03:00
s3:param: Fix old-style function definition
Signed-off-by: Andreas Schneider <asn@samba.org> Reviewed-by: Jeremy Allison <jra@samba.org>
This commit is contained in:
parent
7e29e70fd9
commit
80dc3bc2b8
@ -2145,7 +2145,7 @@ struct loadparm_service *lp_servicebynum(int snum)
|
||||
return ServicePtrs[snum];
|
||||
}
|
||||
|
||||
struct loadparm_service *lp_default_loadparm_service()
|
||||
struct loadparm_service *lp_default_loadparm_service(void)
|
||||
{
|
||||
return &sDefault;
|
||||
}
|
||||
@ -4805,7 +4805,7 @@ unsigned int * get_flags(void)
|
||||
return flags_list;
|
||||
}
|
||||
|
||||
enum samba_weak_crypto lp_weak_crypto()
|
||||
enum samba_weak_crypto lp_weak_crypto(void)
|
||||
{
|
||||
if (Globals.weak_crypto == SAMBA_WEAK_CRYPTO_UNKNOWN) {
|
||||
Globals.weak_crypto = SAMBA_WEAK_CRYPTO_DISALLOWED;
|
||||
|
Loading…
Reference in New Issue
Block a user