Remove some more warnings.

This commit is contained in:
David Nugent 1999-07-28 12:49:34 +00:00
parent 9ccbcc3ef1
commit 479bcf69f7
Notes: svn2git 2020-12-20 02:59:44 +00:00
svn path=/head/; revision=49171
2 changed files with 6 additions and 4 deletions

View file

@ -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] =

View file

@ -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
};