Date: Fri, 1 Feb 2002 22:50:57 -0800 (PST) From: Warner Losh <imp@FreeBSD.org> To: cvs-committers@FreeBSD.org, cvs-all@FreeBSD.org Subject: cvs commit: src/bin/sh alias.c alias.h arith.h arith.y arith_lex.l cd.c cd.h error.c error.h eval.c eval.h exec.c exec.h expand.c expand.h histedit.c init.h input.c input.h jobs.c jobs.h mail.c mail.h main.c main.h memalloc.c memalloc.h miscbltin.c mkinit.c ... Message-ID: <200202020650.g126ove20443@freefall.freebsd.org>
next in thread | raw e-mail | index | archive | help
imp 2002/02/01 22:50:57 PST
Modified files:
bin/sh alias.c alias.h arith.h arith.y
arith_lex.l cd.c cd.h error.c error.h
eval.c eval.h exec.c exec.h expand.c
expand.h histedit.c init.h input.c
input.h jobs.c jobs.h mail.c mail.h
main.c main.h memalloc.c memalloc.h
miscbltin.c mkinit.c mknodes.c mksyntax.c
myhistedit.h mystring.c mystring.h
nodes.c.pat options.c options.h output.c
output.h parser.c parser.h redir.c
redir.h show.c show.h trap.c trap.h var.c
var.h
bin/sh/bltin bltin.h echo.c
bin/sleep sleep.c
bin/stty cchar.c extern.h gfmt.c key.c modes.c
print.c stty.c util.c
bin/sync sync.c
bin/test test.c
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 Change
int
foo() {
...
to
int
foo(void)
{
...
Revision Changes Path
1.14 +14 -22 src/bin/sh/alias.c
1.7 +4 -4 src/bin/sh/alias.h
1.6 +2 -2 src/bin/sh/arith.h
1.13 +9 -14 src/bin/sh/arith.y
1.17 +3 -2 src/bin/sh/arith_lex.l
1.12 +1 -6 src/bin/sh/bltin/bltin.h
1.11 +2 -4 src/bin/sh/bltin/echo.c
1.22 +9 -16 src/bin/sh/cd.c
1.6 +3 -3 src/bin/sh/cd.h
1.18 +7 -42 src/bin/sh/error.c
1.14 +6 -6 src/bin/sh/error.h
1.31 +28 -59 src/bin/sh/eval.c
1.8 +10 -10 src/bin/sh/eval.h
1.16 +34 -79 src/bin/sh/exec.c
1.10 +15 -15 src/bin/sh/exec.h
1.35 +56 -104 src/bin/sh/expand.c
1.10 +6 -6 src/bin/sh/expand.h
1.18 +8 -17 src/bin/sh/histedit.c
1.7 +3 -3 src/bin/sh/init.h
1.17 +24 -29 src/bin/sh/input.c
1.8 +12 -12 src/bin/sh/input.h
1.32 +33 -62 src/bin/sh/jobs.c
1.13 +12 -12 src/bin/sh/jobs.h
1.11 +2 -3 src/bin/sh/mail.c
1.7 +1 -1 src/bin/sh/mail.h
1.21 +11 -33 src/bin/sh/main.c
1.7 +4 -4 src/bin/sh/main.h
1.18 +13 -24 src/bin/sh/memalloc.c
1.8 +13 -13 src/bin/sh/memalloc.h
1.25 +4 -10 src/bin/sh/miscbltin.c
1.15 +40 -62 src/bin/sh/mkinit.c
1.14 +23 -54 src/bin/sh/mknodes.c
1.18 +13 -18 src/bin/sh/mksyntax.c
1.8 +5 -5 src/bin/sh/myhistedit.h
1.11 +8 -16 src/bin/sh/mystring.c
1.7 +4 -4 src/bin/sh/mystring.h
1.8 +12 -19 src/bin/sh/nodes.c.pat
1.17 +23 -44 src/bin/sh/options.c
1.11 +10 -10 src/bin/sh/options.h
1.12 +27 -146 src/bin/sh/output.c
1.10 +15 -16 src/bin/sh/output.h
1.38 +53 -60 src/bin/sh/parser.c
1.9 +4 -4 src/bin/sh/parser.h
1.17 +15 -19 src/bin/sh/redir.c
1.8 +5 -5 src/bin/sh/redir.h
1.15 +18 -51 src/bin/sh/show.c
1.10 +7 -7 src/bin/sh/show.h
1.21 +12 -22 src/bin/sh/trap.c
1.10 +8 -8 src/bin/sh/trap.h
1.16 +36 -56 src/bin/sh/var.c
1.9 +18 -18 src/bin/sh/var.h
1.11 +4 -7 src/bin/sleep/sleep.c
1.12 +4 -7 src/bin/stty/cchar.c
1.9 +11 -11 src/bin/stty/extern.h
1.17 +5 -11 src/bin/stty/gfmt.c
1.16 +37 -56 src/bin/stty/key.c
1.11 +3 -5 src/bin/stty/modes.c
1.17 +8 -16 src/bin/stty/print.c
1.19 +3 -7 src/bin/stty/stty.c
1.9 +1 -1 src/bin/stty/util.c
1.12 +2 -4 src/bin/sync/sync.c
1.39 +32 -61 src/bin/test/test.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?200202020650.g126ove20443>
