]> git.ipfire.org Git - thirdparty/util-linux.git/commitdiff
setpwnam: remove non-ANSI definitions [smatch scan]
authorSami Kerola <kerolasa@iki.fi>
Sun, 13 Nov 2011 20:21:39 +0000 (21:21 +0100)
committerSami Kerola <sami.kerola@tomtom.com>
Tue, 29 Nov 2011 16:58:00 +0000 (17:58 +0100)
Signed-off-by: Sami Kerola <kerolasa@iki.fi>
login-utils/setpwnam.c

index d5b8a5beab2e1915b617472fb0ae3a63b19fce2b..7593a52b8c950f819307ac35a656447b3fb5a8b1 100644 (file)
@@ -197,7 +197,7 @@ int setpwnam(struct passwd *pwd)
 }
 
 /* Set up the limits so that we're not foiled */
-static void pw_init()
+static void pw_init(void)
 {
        struct rlimit rlim;