summaryrefslogtreecommitdiff
path: root/source3
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
commit5bfe3c49a1b5ee0fad40e83326cf8b4bc88240f5 (patch)
tree712dde3e2c7f2f9433dc09bc55c92f03ad52a34f /source3
parent289d793629592b8aff24d3583fc052ac3c30247a (diff)
downloadsamba-5bfe3c49a1b5ee0fad40e83326cf8b4bc88240f5.tar.gz
samba-5bfe3c49a1b5ee0fad40e83326cf8b4bc88240f5.tar.bz2
samba-5bfe3c49a1b5ee0fad40e83326cf8b4bc88240f5.zip
Correctly define prototypes for accessor functions.
Jeremy. (This used to be commit 299ea5d122e173adf6edb6399fc90798747b0c97)
Diffstat (limited to 'source3')
-rw-r--r--source3/auth/pass_check.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/source3/auth/pass_check.c b/source3/auth/pass_check.c
index fe1f98c150..813540d9fa 100644
--- a/source3/auth/pass_check.c
+++ b/source3/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 "";