projects
/
libfirm
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
added rbitset_malloc()
[libfirm]
/
include
/
libfirm
/
adt
/
hashset.h
diff --git
a/include/libfirm/adt/hashset.h
b/include/libfirm/adt/hashset.h
index
9495ef0
..
54e49ca
100644
(file)
--- a/
include/libfirm/adt/hashset.h
+++ b/
include/libfirm/adt/hashset.h
@@
-40,7
+40,7
@@
typedef struct HashSetEntry {
} HashSetEntry;
#endif
} HashSetEntry;
#endif
-
typedef
struct HashSet {
+struct HashSet {
HashSetEntry *entries;
size_t num_buckets;
size_t enlarge_threshold;
HashSetEntry *entries;
size_t num_buckets;
size_t enlarge_threshold;
@@
-54,16
+54,16
@@
typedef struct HashSet {
#ifdef ADDITIONAL_DATA
ADDITIONAL_DATA
#endif
#ifdef ADDITIONAL_DATA
ADDITIONAL_DATA
#endif
-}
HashSet
;
+};
-
typedef
struct HashSetIterator {
+struct HashSetIterator {
HashSetEntry *current_bucket;
HashSetEntry *end;
#ifndef NDEBUG
HashSetEntry *current_bucket;
HashSetEntry *end;
#ifndef NDEBUG
- const HashSet *set;
+ const
struct
HashSet *set;
unsigned entries_version;
#endif
unsigned entries_version;
#endif
-}
HashSetIterator
;
+};
#ifdef DO_REHASH
#undef HashSetEntry
#ifdef DO_REHASH
#undef HashSetEntry