Merge pull request #194 from evertrol/issue193

Fix issue #193: remove double typedef declaration.
This commit is contained in:
Alex Clark ☺ 2013-04-17 06:10:10 -07:00
commit ddaa8b4cbf
2 changed files with 4 additions and 4 deletions

View File

@ -29,7 +29,7 @@ typedef struct _HashNode {
HashVal_t value;
} HashNode;
typedef struct _HashTable {
struct _HashTable {
HashNode **table;
uint32_t length;
uint32_t count;
@ -38,7 +38,7 @@ typedef struct _HashTable {
KeyDestroyFunc keyDestroyFunc;
ValDestroyFunc valDestroyFunc;
void *userData;
} HashTable;
};
#define MIN_LENGTH 11
#define RESIZE_FACTOR 3

View File

@ -23,12 +23,12 @@
#include "QuantHeap.h"
typedef struct _Heap {
struct _Heap {
void **heap;
int heapsize;
int heapcount;
HeapCmpFunc cf;
} Heap;
};
#define INITIAL_SIZE 256