summaryrefslogtreecommitdiff
path: root/cpp/hash.c
diff options
context:
space:
mode:
authorRobert de Bath <rdebath@poboxes.com>2003-11-02 09:31:19 +0100
committerLubomir Rintel <lkundrak@v3.sk>2013-10-23 23:48:49 +0200
commitb5dac1e3bdd01a2ce105df747a9073ff0d6a94e2 (patch)
tree2ce4628567071bbb680b6c81f40f5fd3192eda02 /cpp/hash.c
parent22950ba3df3a0b739786243679d69cd4094e8b20 (diff)
downloaddev86-b5dac1e3bdd01a2ce105df747a9073ff0d6a94e2.tar.gz
Import Dev86src-0.16.14.tar.gzv0.16.14
Diffstat (limited to 'cpp/hash.c')
-rw-r--r--cpp/hash.c6
1 files changed, 5 insertions, 1 deletions
diff --git a/cpp/hash.c b/cpp/hash.c
index 11c32da..7cab819 100644
--- a/cpp/hash.c
+++ b/cpp/hash.c
@@ -1,6 +1,10 @@
#include <stdio.h>
+#ifdef __STDC__
+#include <stdlib.h>
+#else
#include <malloc.h>
+#endif
#include "cc.h"
/*
@@ -23,7 +27,7 @@ struct hashentry
struct hashentry ** hashtable;
int hashsize = 0xFF; /* 2^X -1 */
int hashcount = 0;
-static int hashvalue _P((int namespace, char * word));
+static int hashvalue P((int namespace, char * word));
void *
read_entry(namespace, word)