summaryrefslogtreecommitdiffstats
path: root/tools/lib/api/fd/array.c
diff options
context:
space:
mode:
authorYonghong Song <yhs@fb.com>2022-06-06 23:26:15 -0700
committerAlexei Starovoitov <ast@kernel.org>2022-06-07 10:20:42 -0700
commit8479aa752226bea40b24db277f1f10ab2726f8bb (patch)
treedb9f0ffc310f0cd7195ccbed35c031cb76b3c664 /tools/lib/api/fd/array.c
parentb58b2b3a31228bd9aaed9b96e9452dafd0d46024 (diff)
downloadlinux-8479aa752226bea40b24db277f1f10ab2726f8bb.tar.bz2
libbpf: Refactor btf__add_enum() for future code sharing
Refactor btf__add_enum() function to create a separate function btf_add_enum_common() so later the common function can be used to add enum64 btf type. There is no functionality change for this patch. Acked-by: Andrii Nakryiko <andrii@kernel.org> Signed-off-by: Yonghong Song <yhs@fb.com> Link: https://lore.kernel.org/r/20220607062615.3718063-1-yhs@fb.com Signed-off-by: Alexei Starovoitov <ast@kernel.org>
Diffstat (limited to 'tools/lib/api/fd/array.c')
0 files changed, 0 insertions, 0 deletions