added rbitset_malloc()
[libfirm] / include / libfirm / adt / hashset.h
index 9495ef0..54e49ca 100644 (file)
@@ -40,7 +40,7 @@ typedef struct HashSetEntry {
 } HashSetEntry;
 #endif
 
-typedef struct HashSet {
+struct HashSet {
        HashSetEntry *entries;
        size_t num_buckets;
        size_t enlarge_threshold;
@@ -54,16 +54,16 @@ typedef struct HashSet {
 #ifdef ADDITIONAL_DATA
        ADDITIONAL_DATA
 #endif
-} HashSet;
+};
 
-typedef struct HashSetIterator {
+struct HashSetIterator {
        HashSetEntry *current_bucket;
        HashSetEntry *end;
 #ifndef NDEBUG
-       const HashSet *set;
+       const struct HashSet *set;
        unsigned entries_version;
 #endif
-} HashSetIterator;
+};
 
 #ifdef DO_REHASH
 #undef HashSetEntry