Fix issue #193: remove double typedef declaration.

This commit is contained in:
Evert Rol 2013-04-17 14:27:07 +02:00
parent 70fe6ec265
commit 8e74b50e0f
2 changed files with 4 additions and 4 deletions

View File

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

View File

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