From owner-cvs-all Sun Apr 25 15:23:43 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 B6F8614DC1; Sun, 25 Apr 1999 15:23:40 -0700 (PDT) (envelope-from imp@FreeBSD.org) Received: (from imp@localhost) by freefall.freebsd.org (8.9.3/8.9.2) id PAA35993; Sun, 25 Apr 1999 15:23:40 -0700 (PDT) (envelope-from imp@FreeBSD.org) Message-Id: <199904252223.PAA35993@freefall.freebsd.org> From: Warner Losh Date: Sun, 25 Apr 1999 15:23:40 -0700 (PDT) To: cvs-committers@FreeBSD.org, cvs-all@FreeBSD.org Subject: cvs commit: src/libexec/bootpd bootpd.c src/libexec/bootpd/bootpgw bootpgw.c src/libexec/bootpd/tools/bootpef bootpef.c src/libexec/bootpd/tools/bootptest bootptest.c src/libexec/ftpd ftpd.c src/libexec/rlogind rlogind.c src/libexec/uucpd uucpd.c Sender: owner-cvs-all@FreeBSD.ORG Precedence: bulk imp 1999/04/25 15:23:39 PDT Modified files: libexec/bootpd bootpd.c libexec/bootpd/bootpgw bootpgw.c libexec/bootpd/tools/bootpef bootpef.c libexec/bootpd/tools/bootptest bootptest.c libexec/ftpd ftpd.c libexec/rlogind rlogind.c libexec/uucpd uucpd.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 (and also remove a useless register modifier). Reviewed by: obrien and chuckr Revision Changes Path 1.12 +3 -2 src/libexec/bootpd/bootpd.c 1.3 +2 -1 src/libexec/bootpd/bootpgw/bootpgw.c 1.5 +3 -2 src/libexec/bootpd/tools/bootpef/bootpef.c 1.6 +2 -2 src/libexec/bootpd/tools/bootptest/bootptest.c 1.55 +3 -2 src/libexec/ftpd/ftpd.c 1.23 +4 -3 src/libexec/rlogind/rlogind.c 1.19 +2 -2 src/libexec/uucpd/uucpd.c To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe cvs-all" in the body of the message