Date: Fri, 1 Feb 2002 22:36:49 -0800 (PST) From: Warner Losh <imp@FreeBSD.org> 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 Message-ID: <200202020636.g126anS18340@freefall.freebsd.org>
index | next in thread | raw e-mail
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
help
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200202020636.g126anS18340>
