diff options
author | Eric Andersen | 2000-07-14 06:49:52 +0000 |
---|---|---|
committer | Eric Andersen | 2000-07-14 06:49:52 +0000 |
commit | fad04fdd12604a46eff62875343515c33e1863c6 (patch) | |
tree | 7b840eb074878c454141ce76ba7328f4a8621f1b /tr.c | |
parent | b870af09ae1892ab84dd089529675cc2df533e71 (diff) | |
download | busybox-fad04fdd12604a46eff62875343515c33e1863c6.zip busybox-fad04fdd12604a46eff62875343515c33e1863c6.tar.gz |
More cleanups.
-Erik
Diffstat (limited to 'tr.c')
-rw-r--r-- | tr.c | 8 |
1 files changed, 4 insertions, 4 deletions
@@ -140,10 +140,10 @@ static unsigned int expand(char *arg, register unsigned char *buffer) return (buffer - buffer_start); } -static int complement(unsigned char *buffer, unsigned int buffer_len) +static int complement(unsigned char *buffer, int buffer_len) { register short i, j, index; - unsigned char conv[ASCII + 2]; + char conv[ASCII + 2]; index = 0; for (i = 0; i <= ASCII; i++) { @@ -160,9 +160,9 @@ static int complement(unsigned char *buffer, unsigned int buffer_len) extern int tr_main(int argc, char **argv) { register unsigned char *ptr; - unsigned int output_length=0, input_length; + int output_length=0, input_length; int index = 1; - short i; + int i; if (argc > 1 && argv[index][0] == '-') { for (ptr = (unsigned char *) &argv[index][1]; *ptr; ptr++) { |