mirror of
https://github.com/samba-team/samba.git
synced 2025-01-12 09:18:10 +03:00
Correctly define prototypes for accessor functions.
Jeremy.
This commit is contained in:
parent
8223624fea
commit
299ea5d122
@ -28,7 +28,7 @@
|
||||
/* these are kept here to keep the string_combinations function simple */
|
||||
static char *ths_user;
|
||||
|
||||
static const char *get_this_user()
|
||||
static const char *get_this_user(void)
|
||||
{
|
||||
if (!ths_user) {
|
||||
return "";
|
||||
@ -49,7 +49,7 @@ static const char *set_this_user(const char *newuser)
|
||||
#if !defined(WITH_PAM)
|
||||
static char *ths_salt;
|
||||
/* This must be writable. */
|
||||
static char *get_this_salt()
|
||||
static char *get_this_salt(void)
|
||||
{
|
||||
return ths_salt;
|
||||
}
|
||||
@ -66,7 +66,7 @@ static const char *set_this_salt(const char *newsalt)
|
||||
}
|
||||
|
||||
static char *ths_crypted;
|
||||
static const char *get_this_crypted()
|
||||
static const char *get_this_crypted(void)
|
||||
{
|
||||
if (!ths_crypted) {
|
||||
return "";
|
||||
|
Loading…
Reference in New Issue
Block a user