From owner-cvs-all Sun Apr 25 15:38: 1 1999 Delivered-To: cvs-all@freebsd.org Received: from freefall.freebsd.org (freefall.FreeBSD.ORG [204.216.27.21]) by hub.freebsd.org (Postfix) with ESMTP id 3288614CC3; Sun, 25 Apr 1999 15:37:59 -0700 (PDT) (envelope-from imp@FreeBSD.org) Received: (from imp@localhost) by freefall.freebsd.org (8.9.3/8.9.2) id PAA36899; Sun, 25 Apr 1999 15:37:59 -0700 (PDT) (envelope-from imp@FreeBSD.org) Message-Id: <199904252237.PAA36899@freefall.freebsd.org> From: Warner Losh Date: Sun, 25 Apr 1999 15:37:59 -0700 (PDT) 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 ... Sender: owner-cvs-all@FreeBSD.ORG Precedence: bulk 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