diff options
| author | David Nugent <davidn@FreeBSD.org> | 1997-01-29 06:11:31 +0000 |
|---|---|---|
| committer | David Nugent <davidn@FreeBSD.org> | 1997-01-29 06:11:31 +0000 |
| commit | 93aa55544d513efab49071f0de8ea916e6d3fe79 (patch) | |
| tree | 14dcd42123d00299230bf76d483ed35181c4c567 | |
| parent | 51706563c4c5a8773cace4590c86fbd9ec39efd0 (diff) | |
Notes
| -rw-r--r-- | lib/libutil/Makefile | 2 | ||||
| -rw-r--r-- | lib/libutil/login_auth.c | 3 |
2 files changed, 3 insertions, 2 deletions
diff --git a/lib/libutil/Makefile b/lib/libutil/Makefile index 9248ff0e1a83..1f05dfd34f20 100644 --- a/lib/libutil/Makefile +++ b/lib/libutil/Makefile @@ -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 \ diff --git a/lib/libutil/login_auth.c b/lib/libutil/login_auth.c index e54a5dc45c02..a625b65fc7ec 100644 --- a/lib/libutil/login_auth.c +++ b/lib/libutil/login_auth.c @@ -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; } |
