From 87135448efce2a8bfc2c1515a4d3d0cedd34bc50 Mon Sep 17 00:00:00 2001 From: adash Date: Thu, 3 Dec 2009 19:13:10 +0000 Subject: [PATCH] fix compile errors --- Robust/src/Runtime/DSTM/interface/altprelookup.h | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/Robust/src/Runtime/DSTM/interface/altprelookup.h b/Robust/src/Runtime/DSTM/interface/altprelookup.h index 1a60243e..2c34f372 100644 --- a/Robust/src/Runtime/DSTM/interface/altprelookup.h +++ b/Robust/src/Runtime/DSTM/interface/altprelookup.h @@ -4,7 +4,7 @@ #include #include #include -#include "dstm.h" +//#include "dstm.h" #define PLOADFACTOR 0.25 #define PHASH_SIZE 1024 @@ -16,7 +16,7 @@ typedef struct prehashlistnode { } prehashlistnode_t; -struct lockarray { +struct prelockarray { volatile unsigned int lock; int buf[15]; }; @@ -34,7 +34,7 @@ typedef struct prehashtable { unsigned int numelements; unsigned int threshold; double loadfactor; - struct lockarray larray[NUMLOCKS]; + struct prelockarray larray[NUMLOCKS]; } prehashtable_t; /* Prototypes for hash*/ -- 2.34.1