Date: Fri, 1 Feb 2002 22:15:22 -0800 (PST) From: Warner Losh <imp@FreeBSD.org> To: cvs-committers@FreeBSD.org, cvs-all@FreeBSD.org Subject: cvs commit: src/bin/chio chio.c defs.h src/bin/chmod chmod.c src/bin/cp cp.c extern.h utils.c Message-ID: <200202020615.g126FMb16143@freefall.freebsd.org>
next in thread | raw e-mail | index | archive | help
imp 2002/02/01 22:15:22 PST
Modified files:
bin/chio chio.c defs.h
bin/chmod chmod.c
bin/cp cp.c extern.h utils.c
Log:
Modernization effort for bin/c*:
o __P has been reoved
o Old-style K&R declarations have been converted to new C89 style
o register has been removed
o prototype for main() has been removed (gcc3 makes it an error)
o int main(int argc, char *argv[]) is the preferred main definition.
o Attempt to not break style(9) conformance for declarations more than
they already are.
Approved by: arch@, new style(9)
Revision Changes Path
1.20 +43 -87 src/bin/chio/chio.c
1.4 +2 -2 src/bin/chio/defs.h
1.23 +6 -8 src/bin/chmod/chmod.c
1.31 +5 -11 src/bin/cp/cp.c
1.12 +7 -7 src/bin/cp/extern.h
1.33 +6 -16 src/bin/cp/utils.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?200202020615.g126FMb16143>
