Clean up the code in bin/ to reduce warnings from GCC3.
authorChris Pressey <cpressey@dragonflybsd.org>
Fri, 19 Mar 2004 17:47:49 +0000 (17:47 +0000)
committerChris Pressey <cpressey@dragonflybsd.org>
Fri, 19 Mar 2004 17:47:49 +0000 (17:47 +0000)
commitc443019bc8185bd02621983d13f6db3cc4f9a734
tree183de24cc0ae71793aad30829d72831122042198
parent1c755102bd9435dcf9a431affecb49d10d524f79
Clean up the code in bin/ to reduce warnings from GCC3.

Stage 4 of 5 or so: cleanups to ed and ps.
- Add ``const'' and ``static'' to  appropriate variable delcarations
  and casts.
- Fix signedness on appropriate ``int'' declarations.
- Convert appropriate ``int'' types to ``size_t''.
- Rename functions/variables to not conflict with globals.
- Add missing #include's.

Submitted-by: Simon 'corecode' Schubert <corecode@fs.ei.tum.de>
bin/ed/cbc.c
bin/ed/ed.h
bin/ed/io.c
bin/ed/main.c
bin/ps/extern.h
bin/ps/fmt.c
bin/ps/keyword.c
bin/ps/nlist.c
bin/ps/print.c
bin/ps/ps.c
bin/ps/ps.h