diff --git a/libImaging/QuantHash.c b/libImaging/QuantHash.c index 58d881349..b2bdb0618 100644 --- a/libImaging/QuantHash.c +++ b/libImaging/QuantHash.c @@ -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 diff --git a/libImaging/QuantHeap.c b/libImaging/QuantHeap.c index bddcf142c..20379ac59 100644 --- a/libImaging/QuantHeap.c +++ b/libImaging/QuantHeap.c @@ -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