Commit 86d40b95 authored by Götz Lindenmaier's avatar Götz Lindenmaier
Browse files

Added static to many static routines

[r567]
parent cff3ccfb
......@@ -35,10 +35,10 @@ dbg_info_merge_sets(ir_node **new_nodes, int n_new_nodes,
}
static void (*__dbg_info_merge_pair)(ir_node *nw, ir_node *old, dbg_action info)
void (*__dbg_info_merge_pair)(ir_node *nw, ir_node *old, dbg_action info)
= &dbg_info_merge_pair;
static void (*__dbg_info_merge_sets)(ir_node **new_nodes, int n_new_nodes,
void (*__dbg_info_merge_sets)(ir_node **new_nodes, int n_new_nodes,
ir_node **old_nodes, int n_old_nodes,
dbg_action info)
= &dbg_info_merge_sets;
......
......@@ -547,7 +547,9 @@ int is_compound_entity(entity *ent) {
is_array_type(t) || is_union_type(t));
}
/* @@@ not implemnted!!! */
bool equal_entity(entity *ent1, entity *ent2) {
printf(" calling unimplemented equal entity!!! \n");
return true;
}
......
......@@ -35,7 +35,7 @@ typedef struct type_walk_env {
} type_walk_env;
void type_walk_2(type_or_ent *tore,
static void type_walk_2(type_or_ent *tore,
void (pre)(type_or_ent*, void*),
void (post)(type_or_ent*, void*),
void *env)
......@@ -142,7 +142,7 @@ void type_walk_2(type_or_ent *tore,
return;
}
void start_type_walk(ir_node *node, void *env) {
static void start_type_walk(ir_node *node, void *env) {
void *pre = ((type_walk_env *)env)->pre;
void *post = ((type_walk_env *)env)->post;
void *envi = ((type_walk_env *)env)->env;
......@@ -207,7 +207,7 @@ void type_walk_irg (ir_graph *irg,
return;
}
void type_walk_s2s_2(type_or_ent *tore,
static void type_walk_s2s_2(type_or_ent *tore,
void (pre)(type_or_ent*, void*),
void (post)(type_or_ent*, void*),
void *env)
......@@ -298,8 +298,8 @@ void type_walk_super2sub(void (pre)(type_or_ent*, void*),
/*****************************************************************************/
static
void type_walk_super_2(type_or_ent *tore,
static void
type_walk_super_2(type_or_ent *tore,
void (pre)(type_or_ent*, void*),
void (post)(type_or_ent*, void*),
void *env)
......@@ -387,7 +387,8 @@ void type_walk_super(void (pre)(type_or_ent*, void*),
/*****************************************************************************/
void class_walk_s2s_2(type *tp,
static void
class_walk_s2s_2(type *tp,
void (pre)(type*, void*),
void (post)(type*, void*),
void *env)
......
......@@ -43,9 +43,10 @@
#include "obst.h"
#include "ieee754.h"
#include "tune.h"
#include "ident_t.h"
#include "xp_help.h"
#include "tv_t.h"
#include "entity_t.h"
#include "ident_t.h"
#include "irmode.h"
static struct obstack tv_obst; /* obstack for all the target values */
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment