]> git.gag.com Git - fw/sdcc/blobdiff - support/cpp/cpphash.c
clean up a bunch of compiler warnings
[fw/sdcc] / support / cpp / cpphash.c
index d9a3dca1f8b6a6ff8d56e59c318877b90b8b0a60..410a404b77379c4bcce8023067e9ec7ba9c8b279 100644 (file)
@@ -28,10 +28,8 @@ Foundation, 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
 
 #include "newalloc.h"
 
-#if defined(_MSC_VER)
 #include <string.h>
 #include <stdlib.h>
-#endif
 
 /* Define a generic NULL if one hasn't already been defined.  */
 
@@ -44,6 +42,8 @@ Foundation, 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
 #define volatile
 #endif
 
+static HASHNODE *hashtab[HASHSIZE];
+
 /*
  * return hash function on name.  must be compatible with the one
  * computed a step at a time, elsewhere