Clean up the code in bin/ to reduce warnings from GCC3.
authorChris Pressey <cpressey@dragonflybsd.org>
Fri, 19 Mar 2004 17:17:46 +0000 (17:17 +0000)
committerChris Pressey <cpressey@dragonflybsd.org>
Fri, 19 Mar 2004 17:17:46 +0000 (17:17 +0000)
commita78cd7563c9ec3cf7b234be12c4928541ec8bb41
tree8976ba9dccf092b74e864def67aeaa49c0ad0370
parent9bc2e50e5d342781a60ca628a0d07123343665a4
Clean up the code in bin/ to reduce warnings from GCC3.

Stage 2 of 5 or so: small cleanups across several programs.
- Convert ``quad'' types to ``long long''.
- Convert appropriate ``int'' types to ``size_t''.
- Fix comment syntax to use /* */ instead of //.
- Initialize a variable before using it.
- Remove an unneeded cast.

Submitted-by: Simon 'corecode' Schubert <corecode@fs.ei.tum.de>
bin/dd/args.c
bin/dd/misc.c
bin/expr/expr.y
bin/hostname/hostname.c
bin/ln/ln.c
bin/ls/ls.c
bin/rcp/rcp.c
bin/rcp/util.c
bin/test/test.c