Clean up the code in bin/ to reduce warnings from GCC3.
authorChris Pressey <cpressey@dragonflybsd.org>
Fri, 19 Mar 2004 18:39:41 +0000 (18:39 +0000)
committerChris Pressey <cpressey@dragonflybsd.org>
Fri, 19 Mar 2004 18:39:41 +0000 (18:39 +0000)
commit492efe0581832444d26594b19a3363250e26e2e9
treeb1ff78f04be3fa24fe2e6bc6f67925782e3e759f
parentd0d5be306689319386768f26901893d8614babda
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@fs.ei.tum.de>
32 files changed:
bin/sh/alias.c
bin/sh/arith.h
bin/sh/arith.y
bin/sh/arith_lex.l
bin/sh/bltin/bltin.h
bin/sh/cd.c
bin/sh/error.c
bin/sh/error.h
bin/sh/eval.c
bin/sh/eval.h
bin/sh/exec.c
bin/sh/exec.h
bin/sh/expand.c
bin/sh/histedit.c
bin/sh/input.c
bin/sh/input.h
bin/sh/jobs.c
bin/sh/mail.c
bin/sh/main.c
bin/sh/miscbltin.c
bin/sh/mkbuiltins
bin/sh/mkinit.c
bin/sh/mksyntax.c
bin/sh/mktokens
bin/sh/myhistedit.h
bin/sh/mystring.c
bin/sh/options.c
bin/sh/options.h
bin/sh/parser.c
bin/sh/parser.h
bin/sh/var.c
bin/sh/var.h