aboutsummaryrefslogtreecommitdiffstats
path: root/tools/bpf/bpftool/prog.c
diff options
context:
space:
mode:
Diffstat (limited to 'tools/bpf/bpftool/prog.c')
-rw-r--r--tools/bpf/bpftool/prog.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/tools/bpf/bpftool/prog.c b/tools/bpf/bpftool/prog.c
index ee51279be9c7..2d1bb7d6ff51 100644
--- a/tools/bpf/bpftool/prog.c
+++ b/tools/bpf/bpftool/prog.c
@@ -32,7 +32,7 @@ static const char * const attach_type_strings[] = {
32 [__MAX_BPF_ATTACH_TYPE] = NULL, 32 [__MAX_BPF_ATTACH_TYPE] = NULL,
33}; 33};
34 34
35enum bpf_attach_type parse_attach_type(const char *str) 35static enum bpf_attach_type parse_attach_type(const char *str)
36{ 36{
37 enum bpf_attach_type type; 37 enum bpf_attach_type type;
38 38
@@ -798,7 +798,7 @@ struct map_replace {
798 char *name; 798 char *name;
799}; 799};
800 800
801int map_replace_compar(const void *p1, const void *p2) 801static int map_replace_compar(const void *p1, const void *p2)
802{ 802{
803 const struct map_replace *a = p1, *b = p2; 803 const struct map_replace *a = p1, *b = p2;
804 804