From owner-cvs-all Fri Feb 1 22:37: 0 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 C21CC37B416; Fri, 1 Feb 2002 22:36:49 -0800 (PST) Received: (from imp@localhost) by freefall.freebsd.org (8.11.6/8.11.6) id g126anS18340; Fri, 1 Feb 2002 22:36:49 -0800 (PST) (envelope-from imp) Message-Id: <200202020636.g126anS18340@freefall.freebsd.org> From: Warner Losh Date: Fri, 1 Feb 2002 22:36:49 -0800 (PST) To: cvs-committers@FreeBSD.org, cvs-all@FreeBSD.org Subject: cvs commit: src/bin/echo echo.c src/bin/ed buf.c cbc.c ed.h glbl.c io.c main.c re.c sub.c undo.c src/bin/expr expr.y 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:36:49 PST Modified files: bin/echo echo.c bin/ed buf.c cbc.c ed.h glbl.c io.c main.c re.c sub.c undo.c bin/expr expr.y Log: 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. o gc some #ifdef sun ... #endif code Approved by: arch@, new style(9) Revision Changes Path 1.10 +2 -6 src/bin/echo/echo.c 1.20 +11 -21 src/bin/ed/buf.c 1.15 +16 -27 src/bin/ed/cbc.c 1.16 +74 -89 src/bin/ed/ed.h 1.12 +7 -12 src/bin/ed/glbl.c 1.12 +10 -31 src/bin/ed/io.c 1.22 +27 -55 src/bin/ed/main.c 1.18 +4 -6 src/bin/ed/re.c 1.14 +6 -19 src/bin/ed/sub.c 1.11 +4 -7 src/bin/ed/undo.c 1.18 +57 -86 src/bin/expr/expr.y To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe cvs-all" in the body of the message