Make WARNS=5 clean.
Tested on: sparc64, Athlon[32]
This commit is contained in:
parent
8993821383
commit
24c05aeeed
Notes:
svn2git
2020-12-20 02:59:44 +00:00
svn path=/head/; revision=108434
@ -8,8 +8,7 @@ BINMODE=4555
|
||||
.PATH: ${.CURDIR}/../../usr.sbin/pwd_mkdb \
|
||||
${.CURDIR}/../../lib/libc/gen
|
||||
CFLAGS+=-I${.CURDIR}/../../usr.sbin/pwd_mkdb -I${.CURDIR}/../../lib/libc/gen
|
||||
WARNS?= 4
|
||||
NO_WERROR=yes
|
||||
WARNS?= 5
|
||||
LINKS= ${BINDIR}/chpass ${BINDIR}/chfn
|
||||
LINKS+= ${BINDIR}/chpass ${BINDIR}/chsh
|
||||
LINKS+= ${BINDIR}/chpass ${BINDIR}/ypchpass
|
||||
|
@ -82,13 +82,11 @@ int master_mode;
|
||||
static void baduser(void);
|
||||
static void usage(void);
|
||||
|
||||
char localhost[] = "localhost";
|
||||
|
||||
int
|
||||
main(int argc, char *argv[])
|
||||
{
|
||||
enum { NEWSH, LOADENTRY, EDITENTRY, NEWPW, NEWEXP } op;
|
||||
struct passwd *pw = NULL, lpw, *old_pw;
|
||||
struct passwd lpw, *old_pw, *pw;
|
||||
int ch, pfd, tfd;
|
||||
const char *password;
|
||||
char *arg = NULL;
|
||||
@ -98,6 +96,7 @@ main(int argc, char *argv[])
|
||||
const char *yp_domain = NULL, *yp_host = NULL;
|
||||
#endif
|
||||
|
||||
pw = old_pw = NULL;
|
||||
op = EDITENTRY;
|
||||
#ifdef YP
|
||||
while ((ch = getopt(argc, argv, "a:p:s:e:d:h:loy")) != -1)
|
||||
|
Loading…
Reference in New Issue
Block a user