Correctly define prototypes for accessor functions.
authorJeremy Allison <jra@samba.org>
Tue, 18 Dec 2007 01:13:31 +0000 (17:13 -0800)
committerJeremy Allison <jra@samba.org>
Tue, 18 Dec 2007 01:13:31 +0000 (17:13 -0800)
Jeremy.
(This used to be commit 299ea5d122e173adf6edb6399fc90798747b0c97)

source3/auth/pass_check.c

index fe1f98c1502412533f1adeb6dc109278ad4047d7..813540d9fa822a15848badfa2de5d062a087235a 100644 (file)
@@ -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 "";