aboutsummaryrefslogtreecommitdiff
path: root/coreutils
diff options
context:
space:
mode:
authorEric Andersen <andersen@codepoet.org>2002-07-11 11:11:56 +0000
committerEric Andersen <andersen@codepoet.org>2002-07-11 11:11:56 +0000
commit2276d836398564a90f5ff237e63ca3104ae509f0 (patch)
treeb516e1554a434ba539ed5318c0b3736940c1dd99 /coreutils
parentcafc10323099befd1e45bb1d212a511dcbb92b11 (diff)
downloadbusybox-2276d836398564a90f5ff237e63ca3104ae509f0.tar.gz
Fixup warnings and undefined operations that show up in gcc-3.1
-Erik
Diffstat (limited to 'coreutils')
-rw-r--r--coreutils/md5sum.c10
-rw-r--r--coreutils/uuencode.c3
2 files changed, 7 insertions, 6 deletions
diff --git a/coreutils/md5sum.c b/coreutils/md5sum.c
index 83c769ef2..f5be4486c 100644
--- a/coreutils/md5sum.c
+++ b/coreutils/md5sum.c
@@ -434,7 +434,7 @@ static void md5_process_block(const void *buffer, size_t len, struct md5_ctx *ct
temp += FI(B,C,D);
}
temp += cwp[(int)(*pp++)] + *pc++;
- temp = CYCLIC (temp, ps[i&3]);
+ CYCLIC (temp, ps[i&3]);
temp += B;
A = D; D = C; C = B; B = temp;
}
@@ -443,7 +443,7 @@ static void md5_process_block(const void *buffer, size_t len, struct md5_ctx *ct
for ( i = 0 ; i < 16 ; i++ ) {
temp = A + FF(B,C,D) + cwp[(int)(*pp++)] + *pc++;
- temp = CYCLIC (temp, ps[i&3]);
+ CYCLIC (temp, ps[i&3]);
temp += B;
A = D; D = C; C = B; B = temp;
}
@@ -451,21 +451,21 @@ static void md5_process_block(const void *buffer, size_t len, struct md5_ctx *ct
ps += 4;
for ( i = 0 ; i < 16 ; i++ ) {
temp = A + FG(B,C,D) + cwp[(int)(*pp++)] + *pc++;
- temp = CYCLIC (temp, ps[i&3]);
+ CYCLIC (temp, ps[i&3]);
temp += B;
A = D; D = C; C = B; B = temp;
}
ps += 4;
for ( i = 0 ; i < 16 ; i++ ) {
temp = A + FH(B,C,D) + cwp[(int)(*pp++)] + *pc++;
- temp = CYCLIC (temp, ps[i&3]);
+ CYCLIC (temp, ps[i&3]);
temp += B;
A = D; D = C; C = B; B = temp;
}
ps += 4;
for ( i = 0 ; i < 16 ; i++ ) {
temp = A + FI(B,C,D) + cwp[(int)(*pp++)] + *pc++;
- temp = CYCLIC (temp, ps[i&3]);
+ CYCLIC (temp, ps[i&3]);
temp += B;
A = D; D = C; C = B; B = temp;
}
diff --git a/coreutils/uuencode.c b/coreutils/uuencode.c
index 24b9f1c6a..1d42494fd 100644
--- a/coreutils/uuencode.c
+++ b/coreutils/uuencode.c
@@ -21,6 +21,7 @@
*/
#include <getopt.h>
#include <stdio.h>
+#include <string.h>
#include <stdlib.h>
#include <sys/types.h>
#include <sys/stat.h>
@@ -49,7 +50,7 @@ static char tbl_std[65] = {
'H', 'I', 'J', 'K', 'L', 'M', 'N', 'O',
'P', 'Q', 'R', 'S', 'T', 'U', 'V', 'W',
'X', 'Y', 'Z', '[', '\\', ']', '^', '_',
- '\`' /* termination character */
+ '`' /* termination character */
};
/*