From owner-cvs-all Fri Feb 1 22:15:29 2002 Delivered-To: cvs-all@freebsd.org Received: from freefall.freebsd.org (freefall.FreeBSD.org [216.136.204.21]) by hub.freebsd.org (Postfix) with ESMTP id 8391137B400; Fri, 1 Feb 2002 22:15:22 -0800 (PST) Received: (from imp@localhost) by freefall.freebsd.org (8.11.6/8.11.6) id g126FMb16143; Fri, 1 Feb 2002 22:15:22 -0800 (PST) (envelope-from imp) Message-Id: <200202020615.g126FMb16143@freefall.freebsd.org> From: Warner Losh Date: Fri, 1 Feb 2002 22:15:22 -0800 (PST) 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 X-FreeBSD-CVS-Branch: HEAD Sender: owner-cvs-all@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG 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