passwd: fix function def style - ubase - suckless linux base utils | |
git clone git://git.suckless.org/ubase | |
Log | |
Files | |
Refs | |
README | |
LICENSE | |
--- | |
commit fa7ae96e0fc8963b0fdd179f0555b66c424555f4 | |
parent 5b16e8a4eb5075155ff87ec5595abeb705a6aab4 | |
Author: sin <[email protected]> | |
Date: Sun, 24 Apr 2016 17:46:53 +0100 | |
passwd: fix function def style | |
Diffstat: | |
M passwd.c | 4 ++-- | |
1 file changed, 2 insertions(+), 2 deletions(-) | |
--- | |
diff --git a/passwd.c b/passwd.c | |
@@ -81,8 +81,8 @@ cleanup: | |
return r; | |
} | |
-static | |
-int pw_write_file(FILE *fp, const struct passwd *pw, char *pwhash) { | |
+static int | |
+pw_write_file(FILE *fp, const struct passwd *pw, char *pwhash) { | |
struct passwd *pwent; | |
int r = -1, w = 0; | |
FILE *tfp = NULL; |