From b71cf7bc279531706cc4d617280d67d743b93fe6 Mon Sep 17 00:00:00 2001 From: David Nugent Date: Wed, 28 Jul 1999 12:49:34 +0000 Subject: Remove some more warnings. --- pw/pw_conf.c | 5 +++-- pw/pw_user.c | 5 +++-- 2 files changed, 6 insertions(+), 4 deletions(-) (limited to 'pw') diff --git a/pw/pw_conf.c b/pw/pw_conf.c index dc1bd61..387c462 100644 --- a/pw/pw_conf.c +++ b/pw/pw_conf.c @@ -26,7 +26,7 @@ #ifndef lint static const char rcsid[] = - "$Id: pw_conf.c,v 1.7 1997/10/10 06:23:36 charnier Exp $"; + "$Id: pw_conf.c,v 1.8 1999/02/23 07:15:10 davidn Exp $"; #endif /* not lint */ #include @@ -98,7 +98,8 @@ static struct userconf config = 1000, 32000, /* Allowed range of uids */ 1000, 32000, /* Allowed range of gids */ 0, /* Days until account expires */ - 0 /* Days until password expires */ + 0, /* Days until password expires */ + 0 /* size of default_group array */ }; static char const *comments[_UC_FIELDS] = 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 @@ -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 }; -- cgit v1.2.3-56-ge451