* @file
* @brief Removal of unreachable methods.
* @author Matthias Braun
- * @version $Id$
*/
#include "config.h"
#include "error.h"
#include "debug.h"
-DEBUG_ONLY(static firm_dbg_module_t *dbg);
+DEBUG_ONLY(static firm_dbg_module_t *dbg;)
static void visit_entity(ir_entity *entity);
for (i = 0; i < n_entities; ++i) {
ir_entity *entity = get_compound_member(segment, i);
- if (get_entity_visibility(entity) != ir_visibility_default
+ if (get_entity_visibility(entity) != ir_visibility_external
&& !(get_entity_linkage(entity) & IR_LINKAGE_HIDDEN_USER))
continue;