commit | a324aae32fa9bfdd03e89078e20ebcbd7737fda5 | [log] [tgz] |
---|---|---|
author | Andrii Nakryiko <andriin@fb.com> | Mon Jun 17 15:48:58 2019 -0700 |
committer | Daniel Borkmann <daniel@iogearbox.net> | Wed Jun 19 02:21:02 2019 +0200 |
tree | 7f92fea075055be977132438fb6670b5bfab6f04 | |
parent | 4d18f6de6ac1d85dc0bc85481fb7cabde09e59ae [diff] |
libbpf: constify getter APIs Add const qualifiers to bpf_object/bpf_program/bpf_map arguments for getter APIs. There is no need for them to not be const pointers. Verified that make -C tools/lib/bpf make -C tools/testing/selftests/bpf make -C tools/perf all build without warnings. Signed-off-by: Andrii Nakryiko <andriin@fb.com> Signed-off-by: Daniel Borkmann <daniel@iogearbox.net>