mirror of
https://git.FreeBSD.org/src.git
synced 2024-12-14 10:09:48 +00:00
Added -Wall to CFLAGS, cleaned up (all avoidable) warnings.
This commit is contained in:
parent
51706563c4
commit
93aa55544d
Notes:
svn2git
2020-12-20 02:59:44 +00:00
svn path=/head/; revision=22086
@ -3,7 +3,7 @@
|
||||
LIB= util
|
||||
SHLIB_MAJOR= 2
|
||||
SHLIB_MINOR= 2
|
||||
CFLAGS+=-DLIBC_SCCS -I${.CURDIR} -I/sys
|
||||
CFLAGS+=-Wall -DLIBC_SCCS -I${.CURDIR} -I/sys
|
||||
SRCS= login.c login_tty.c logout.c logwtmp.c pty.c setproctitle.c \
|
||||
login_cap.c login_class.c login_auth.c login_times.c login_ok.c
|
||||
MAN3+= login.3 login_tty.3 logout.3 logwtmp.3 pty.3 setproctitle.3 \
|
||||
|
@ -75,7 +75,6 @@ static void
|
||||
free_auth_info(void)
|
||||
{
|
||||
int i;
|
||||
char *ptr;
|
||||
|
||||
auth_info.reject = 0;
|
||||
auth_info.auths = 0;
|
||||
@ -285,6 +284,7 @@ auth_env(void)
|
||||
}
|
||||
setenv(nam, ptr, 1);
|
||||
}
|
||||
return 0;
|
||||
}
|
||||
|
||||
|
||||
@ -327,6 +327,7 @@ auth_rmfiles(void)
|
||||
free(auth_info.files[i]);
|
||||
auth_info.files[i] = NULL;
|
||||
}
|
||||
return 0;
|
||||
}
|
||||
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user