src/lib/haval.c 1.2

1.2 2009/07/27 19:46:58 kent
Fixing compiler warnings.
Index: src/lib/haval.c
===================================================================
RCS file: /projects/compbio/cvsroot/kent/src/lib/haval.c,v
retrieving revision 1.1
retrieving revision 1.2
diff -b -B -U 4 -r1.1 -r1.2
--- src/lib/haval.c	27 Jul 2009 17:55:18 -0000	1.1
+++ src/lib/haval.c	27 Jul 2009 19:46:58 -0000	1.2
@@ -74,9 +74,9 @@
 /* UCSC Integration Note:  Added some parenthesis to the f_1, f_2, ... f_5 macros
  * to keep GNU C from complaining.  Put "config.h" file inline. */
 
 
-static char rcsid[] = "$Id$";
+static char const rcsid[] = "$Id$";
 
 #include <stdio.h>
 #include <string.h>
 #include "haval.h"
@@ -99,9 +99,11 @@
 /* Test block size */
 #define BLOCK_SIZE 5000
 
 /* Little-endian */
+#ifndef LITTLE_ENDIAN
 #define LITTLE_ENDIAN 1
+#endif
 
 /* Package name */
 #define PACKAGE_NAME "HAVAL"
 
@@ -658,9 +660,8 @@
 
 /* tailor the last output */
 static void haval_tailor (haval_state *state)
 {
-  haval_word temp;
 
 #if FPTLEN == 128
   temp = (state->fingerprint[7] & 0x000000FFL) | 
          (state->fingerprint[6] & 0xFF000000L) |