From owner-cvs-all Fri Feb 1 22:10:41 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 C741837B480; Fri, 1 Feb 2002 22:10:01 -0800 (PST) Received: (from imp@localhost) by freefall.freebsd.org (8.11.6/8.11.6) id g126A1U15414; Fri, 1 Feb 2002 22:10:01 -0800 (PST) (envelope-from imp) Message-Id: <200202020610.g126A1U15414@freefall.freebsd.org> From: Warner Losh Date: Fri, 1 Feb 2002 22:10:01 -0800 (PST) To: cvs-committers@FreeBSD.org, cvs-all@FreeBSD.org Subject: cvs commit: src/bin/cat cat.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:10:01 PST Modified files: bin/cat cat.c Log: Drag cat(1) kicking and screaming into the late 1980's: 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 +12 -22 src/bin/cat/cat.c To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe cvs-all" in the body of the message