From b93d92dbcd6b74a963fa228fcb3e6c8148017b1a Mon Sep 17 00:00:00 2001 From: charnier Date: Fri, 10 Oct 1997 06:27:07 +0000 Subject: Staticize usage(). Cosmetics. --- lib/libc/gen/pw_scan.c | 7 +++++-- 1 file changed, 5 insertions(+), 2 deletions(-) (limited to 'lib/libc') diff --git a/lib/libc/gen/pw_scan.c b/lib/libc/gen/pw_scan.c index 00f640b..d474786 100644 --- a/lib/libc/gen/pw_scan.c +++ b/lib/libc/gen/pw_scan.c @@ -32,7 +32,11 @@ */ #ifndef lint +#if 0 static char sccsid[] = "@(#)pw_scan.c 8.3 (Berkeley) 4/2/94"; +#endif +static const char rcsid[] = + "$Id$"; #endif /* not lint */ /* @@ -45,7 +49,6 @@ static char sccsid[] = "@(#)pw_scan.c 8.3 (Berkeley) 4/2/94"; #include #include #include -#include #include #include #include @@ -133,7 +136,7 @@ pw_scan(bp, pw) } if(p[0]) pw->pw_fields |= _PWF_SHELL; - if (p = strsep(&bp, ":")) { /* too many */ + if ((p = strsep(&bp, ":"))) { /* too many */ fmt: warnx("corrupted entry"); return (0); } -- cgit v1.1