Date: Sun, 25 Apr 1999 15:37:59 -0700 (PDT) From: Warner Losh <imp@FreeBSD.org> To: cvs-committers@FreeBSD.org, cvs-all@FreeBSD.org Subject: cvs commit: src/usr.bin/at at.c src/usr.bin/calendar calendar.h src/usr.bin/chpass edit.c pw_copy.c src/usr.bin/cmp regular.c special.c src/usr.bin/colcrt colcrt.c src/usr.bin/gencat gencat.c src/usr.bin/sed process.c src/usr.bin/tn3270/tools/mkdctype ... Message-ID: <199904252237.PAA36899@freefall.freebsd.org>
next in thread | raw e-mail | index | archive | help
imp 1999/04/25 15:37:58 PDT
Modified files:
usr.bin/at at.c
usr.bin/calendar calendar.h
usr.bin/chpass edit.c pw_copy.c
usr.bin/cmp regular.c special.c
usr.bin/colcrt colcrt.c
usr.bin/gencat gencat.c
usr.bin/sed process.c
usr.bin/tn3270/tools/mkdctype mkdctype.c
Log:
More egcs warning fixes:
o main returns int not void
o use return 0 at end of main when needed
o use braces to avoid potentially ambiguous else
o don't default to type int
o #ifdef 0 -> #if 0
Reviewed by: obrien and chuckr
Revision Changes Path
1.16 +2 -2 src/usr.bin/at/at.c
1.5 +2 -2 src/usr.bin/calendar/calendar.h
1.14 +2 -2 src/usr.bin/chpass/edit.c
1.7 +2 -1 src/usr.bin/chpass/pw_copy.c
1.6 +2 -1 src/usr.bin/cmp/regular.c
1.4 +4 -2 src/usr.bin/cmp/special.c
1.5 +2 -2 src/usr.bin/colcrt/colcrt.c
1.5 +2 -1 src/usr.bin/gencat/gencat.c
1.9 +3 -2 src/usr.bin/sed/process.c
1.2 +2 -1 src/usr.bin/tn3270/tools/mkdctype/mkdctype.c
To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe cvs-all" in the body of the message
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?199904252237.PAA36899>
