diff options
author | 1999-07-28 12:49:34 +0000 | |
---|---|---|
committer | 1999-07-28 12:49:34 +0000 | |
commit | b71cf7bc279531706cc4d617280d67d743b93fe6 (patch) | |
tree | 89b6778e971b2701bdffd8642d33e2eb9513b756 | |
parent | 2245c6680dc120563d703786aef37fd7cc52fbf9 (diff) | |
download | pw-darwin-b71cf7bc279531706cc4d617280d67d743b93fe6.tar.gz pw-darwin-b71cf7bc279531706cc4d617280d67d743b93fe6.tar.zst pw-darwin-b71cf7bc279531706cc4d617280d67d743b93fe6.zip |
Remove some more warnings.
-rw-r--r-- | pw/pw_conf.c | 5 | ||||
-rw-r--r-- | pw/pw_user.c | 5 |
2 files changed, 6 insertions, 4 deletions
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 <string.h> @@ -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 <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 }; |