projects
/
libfirm
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
- added missing base in two test cases
[libfirm]
/
ir
/
ident
/
ident.c
diff --git
a/ir/ident/ident.c
b/ir/ident/ident.c
index
d239034
..
47838da
100644
(file)
--- a/
ir/ident/ident.c
+++ b/
ir/ident/ident.c
@@
-29,6
+29,7
@@
#include <assert.h>
#include <ctype.h>
#include <assert.h>
#include <ctype.h>
+#include <stdio.h>
#include <string.h>
#include <stddef.h>
#include <stdlib.h>
#include <string.h>
#include <stddef.h>
#include <stdlib.h>
@@
-281,6
+282,7
@@
void init_ident(ident_if_t *id_if, int initial_n_idents)
impl.get_id_wcslen = set_get_id_wcslen;
#endif /* FIRM_ENABLE_WCHAR */
impl.get_id_wcslen = set_get_id_wcslen;
#endif /* FIRM_ENABLE_WCHAR */
+ /* it's ok to use memcmp here, we check only strings */
impl.handle = new_set(memcmp, initial_n_idents);
}
}
impl.handle = new_set(memcmp, initial_n_idents);
}
}