cvs commit: src/bin/sh alias.c arith.h arith.y arith_lex.l cd.c error.c error.h eval.c eval.h exec.c exec.h expand.c histedit.c input.c input.h jobs.c mail.c main.c miscbltin.c mkbuiltins mkinit.c mksyntax.c mktokens myhistedit.h mystring.c options.c ...
Chris Pressey
cpressey at crater.dragonflybsd.org
Fri Mar 19 10:41:37 PST 2004
cpressey 2004/03/19 10:39:41 PST
DragonFly src repository
Modified files:
bin/sh alias.c arith.h arith.y arith_lex.l cd.c
error.c error.h eval.c eval.h exec.c
exec.h expand.c histedit.c input.c
input.h jobs.c mail.c main.c miscbltin.c
mkbuiltins mkinit.c mksyntax.c mktokens
myhistedit.h mystring.c options.c
options.h parser.c parser.h var.c var.h
bin/sh/bltin bltin.h
Log:
Clean up the code in bin/ to reduce warnings from GCC3.
Stage 5 of 5: clean up sh.
- Add ``const'' to appropriate variable declarations and casts.
- Add function prototypes and #include's as needed.
- Convert K&R style declarations to ANSI style.
Submitted-by: Simon 'corecode' Schubert <corecode at xxxxxxxxxxxx>
Revision Changes Path
1.4 +1 -1 src/bin/sh/alias.c
1.3 +2 -2 src/bin/sh/arith.h
1.3 +9 -6 src/bin/sh/arith.y
1.3 +6 -2 src/bin/sh/arith_lex.l
1.4 +2 -2 src/bin/sh/cd.c
1.3 +4 -4 src/bin/sh/error.c
1.3 +2 -2 src/bin/sh/error.h
1.4 +4 -4 src/bin/sh/eval.c
1.3 +2 -2 src/bin/sh/eval.h
1.4 +14 -12 src/bin/sh/exec.c
1.4 +4 -4 src/bin/sh/exec.h
1.5 +11 -11 src/bin/sh/expand.c
1.4 +4 -4 src/bin/sh/histedit.c
1.4 +1 -1 src/bin/sh/input.c
1.3 +2 -2 src/bin/sh/input.h
1.5 +5 -4 src/bin/sh/jobs.c
1.3 +3 -2 src/bin/sh/mail.c
1.3 +8 -8 src/bin/sh/main.c
1.3 +6 -2 src/bin/sh/miscbltin.c
1.3 +5 -5 src/bin/sh/mkbuiltins
1.3 +28 -27 src/bin/sh/mkinit.c
1.3 +12 -12 src/bin/sh/mksyntax.c
1.3 +2 -2 src/bin/sh/mktokens
1.3 +2 -2 src/bin/sh/myhistedit.h
1.3 +2 -2 src/bin/sh/mystring.c
1.3 +5 -5 src/bin/sh/options.c
1.3 +4 -4 src/bin/sh/options.h
1.4 +3 -3 src/bin/sh/parser.c
1.3 +2 -2 src/bin/sh/parser.h
1.4 +27 -26 src/bin/sh/var.c
1.3 +6 -6 src/bin/sh/var.h
1.3 +3 -1 src/bin/sh/bltin/bltin.h
http://www.dragonflybsd.org/cvsweb/src/bin/sh/alias.c.diff?r1=1.3&r2=1.4&f=h
http://www.dragonflybsd.org/cvsweb/src/bin/sh/arith.h.diff?r1=1.2&r2=1.3&f=h
http://www.dragonflybsd.org/cvsweb/src/bin/sh/arith.y.diff?r1=1.2&r2=1.3&f=h
http://www.dragonflybsd.org/cvsweb/src/bin/sh/arith_lex.l.diff?r1=1.2&r2=1.3&f=h
http://www.dragonflybsd.org/cvsweb/src/bin/sh/cd.c.diff?r1=1.3&r2=1.4&f=h
http://www.dragonflybsd.org/cvsweb/src/bin/sh/error.c.diff?r1=1.2&r2=1.3&f=h
http://www.dragonflybsd.org/cvsweb/src/bin/sh/error.h.diff?r1=1.2&r2=1.3&f=h
http://www.dragonflybsd.org/cvsweb/src/bin/sh/eval.c.diff?r1=1.3&r2=1.4&f=h
http://www.dragonflybsd.org/cvsweb/src/bin/sh/eval.h.diff?r1=1.2&r2=1.3&f=h
http://www.dragonflybsd.org/cvsweb/src/bin/sh/exec.c.diff?r1=1.3&r2=1.4&f=h
http://www.dragonflybsd.org/cvsweb/src/bin/sh/exec.h.diff?r1=1.3&r2=1.4&f=h
http://www.dragonflybsd.org/cvsweb/src/bin/sh/expand.c.diff?r1=1.4&r2=1.5&f=h
http://www.dragonflybsd.org/cvsweb/src/bin/sh/histedit.c.diff?r1=1.3&r2=1.4&f=h
http://www.dragonflybsd.org/cvsweb/src/bin/sh/input.c.diff?r1=1.3&r2=1.4&f=h
http://www.dragonflybsd.org/cvsweb/src/bin/sh/input.h.diff?r1=1.2&r2=1.3&f=h
http://www.dragonflybsd.org/cvsweb/src/bin/sh/jobs.c.diff?r1=1.4&r2=1.5&f=h
http://www.dragonflybsd.org/cvsweb/src/bin/sh/mail.c.diff?r1=1.2&r2=1.3&f=h
http://www.dragonflybsd.org/cvsweb/src/bin/sh/main.c.diff?r1=1.2&r2=1.3&f=h
http://www.dragonflybsd.org/cvsweb/src/bin/sh/miscbltin.c.diff?r1=1.2&r2=1.3&f=h
http://www.dragonflybsd.org/cvsweb/src/bin/sh/mkbuiltins.diff?r1=1.2&r2=1.3&f=h
http://www.dragonflybsd.org/cvsweb/src/bin/sh/mkinit.c.diff?r1=1.2&r2=1.3&f=h
http://www.dragonflybsd.org/cvsweb/src/bin/sh/mksyntax.c.diff?r1=1.2&r2=1.3&f=h
http://www.dragonflybsd.org/cvsweb/src/bin/sh/mktokens.diff?r1=1.2&r2=1.3&f=h
http://www.dragonflybsd.org/cvsweb/src/bin/sh/myhistedit.h.diff?r1=1.2&r2=1.3&f=h
http://www.dragonflybsd.org/cvsweb/src/bin/sh/mystring.c.diff?r1=1.2&r2=1.3&f=h
http://www.dragonflybsd.org/cvsweb/src/bin/sh/options.c.diff?r1=1.2&r2=1.3&f=h
http://www.dragonflybsd.org/cvsweb/src/bin/sh/options.h.diff?r1=1.2&r2=1.3&f=h
http://www.dragonflybsd.org/cvsweb/src/bin/sh/parser.c.diff?r1=1.3&r2=1.4&f=h
http://www.dragonflybsd.org/cvsweb/src/bin/sh/parser.h.diff?r1=1.2&r2=1.3&f=h
http://www.dragonflybsd.org/cvsweb/src/bin/sh/var.c.diff?r1=1.3&r2=1.4&f=h
http://www.dragonflybsd.org/cvsweb/src/bin/sh/var.h.diff?r1=1.2&r2=1.3&f=h
http://www.dragonflybsd.org/cvsweb/src/bin/sh/bltin/bltin.h.diff?r1=1.2&r2=1.3&f=h
More information about the Commits
mailing list