summaryrefslogtreecommitdiffstats
path: root/source/auth
diff options
context:
space:
mode:
authorJeremy Allison <jra@samba.org>2007-12-17 17:13:31 -0800
committerJeremy Allison <jra@samba.org>2007-12-17 17:13:31 -0800
commit299ea5d122e173adf6edb6399fc90798747b0c97 (patch)
tree1b0e50df3a19d54a538530ebcd315032471bec81 /source/auth
parent8223624fea7c1b61e9231168cb4d82771576cbc5 (diff)
downloadsamba-299ea5d122e173adf6edb6399fc90798747b0c97.tar.gz
samba-299ea5d122e173adf6edb6399fc90798747b0c97.tar.xz
samba-299ea5d122e173adf6edb6399fc90798747b0c97.zip
Correctly define prototypes for accessor functions.
Jeremy.
Diffstat (limited to 'source/auth')
-rw-r--r--source/auth/pass_check.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/source/auth/pass_check.c b/source/auth/pass_check.c
index fe1f98c1502..813540d9fa8 100644
--- a/source/auth/pass_check.c
+++ b/source/auth/pass_check.c
@@ -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 "";