aboutsummaryrefslogtreecommitdiff
path: root/tools/perf/util/map.c
diff options
context:
space:
mode:
Diffstat (limited to 'tools/perf/util/map.c')
-rw-r--r--tools/perf/util/map.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/tools/perf/util/map.c b/tools/perf/util/map.c
index 41c2926f707b..df0bf901c555 100644
--- a/tools/perf/util/map.c
+++ b/tools/perf/util/map.c
@@ -524,7 +524,7 @@ u64 map__objdump_2mem(struct map *map, u64 ip)
return ip + map->reloc;
}
-void maps__init(struct maps *maps, struct machine *machine)
+static void maps__init(struct maps *maps, struct machine *machine)
{
maps->entries = RB_ROOT;
init_rwsem(&maps->lock);
@@ -613,7 +613,7 @@ static void __maps__purge(struct maps *maps)
}
}
-void maps__exit(struct maps *maps)
+static void maps__exit(struct maps *maps)
{
down_write(&maps->lock);
__maps__purge(maps);