summaryrefslogtreecommitdiffstats
path: root/pw/pw_user.c
diff options
context:
space:
mode:
authorDavid Nugent <davidn@FreeBSD.org>1999-07-28 12:49:34 +0000
committerDavid Nugent <davidn@FreeBSD.org>1999-07-28 12:49:34 +0000
commitb71cf7bc279531706cc4d617280d67d743b93fe6 (patch)
tree89b6778e971b2701bdffd8642d33e2eb9513b756 /pw/pw_user.c
parent2245c6680dc120563d703786aef37fd7cc52fbf9 (diff)
downloadpw-darwin-b71cf7bc279531706cc4d617280d67d743b93fe6.tar.gz
pw-darwin-b71cf7bc279531706cc4d617280d67d743b93fe6.zip
Remove some more warnings.
Diffstat (limited to 'pw/pw_user.c')
-rw-r--r--pw/pw_user.c5
1 files changed, 3 insertions, 2 deletions
diff --git a/pw/pw_user.c b/pw/pw_user.c
index 0eb9802..c1bb8e6 100644
--- a/pw/pw_user.c
+++ b/pw/pw_user.c
@@ -27,7 +27,7 @@
#ifndef lint
static const char rcsid[] =
- "$Id: pw_user.c,v 1.27 1999/02/23 07:15:10 davidn Exp $";
+ "$Id: pw_user.c,v 1.28 1999/03/02 00:53:33 davidn Exp $";
#endif /* not lint */
#include <ctype.h>
@@ -54,7 +54,7 @@ static const char rcsid[] =
#define LOGNAMESIZE (MAXLOGNAME-1)
#endif
-static randinit;
+static int randinit;
static int print_user(struct passwd * pwd, int pretty, int v7);
static uid_t pw_uidpolicy(struct userconf * cnf, struct cargs * args);
@@ -123,6 +123,7 @@ pw_user(struct userconf * cnf, int mode, struct cargs * args)
"User &",
"/bin/sh",
0,
+ 0,
0
};