Date: Sun, 25 Apr 1999 15:23:40 -0700 (PDT) From: Warner Losh <imp@FreeBSD.org> 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 Message-ID: <199904252223.PAA35993@freefall.freebsd.org>
next in thread | raw e-mail | index | archive | help
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
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?199904252223.PAA35993>
