From bfd5a0687fcc65e5617d5bab69ff653393f23e70 Mon Sep 17 00:00:00 2001 From: Zbigniew Jędrzejewski-Szmek Date: Fri, 17 May 2024 08:54:00 +0200 Subject: various: move const ptr indicator to return value --- src/shared/bpf-program.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/shared/bpf-program.h') diff --git a/src/shared/bpf-program.h b/src/shared/bpf-program.h index 0e0b666df6..904f2b941f 100644 --- a/src/shared/bpf-program.h +++ b/src/shared/bpf-program.h @@ -60,6 +60,6 @@ int bpf_map_update_element(int fd, const void *key, void *value); int bpf_map_lookup_element(int fd, const void *key, void *value); int bpf_cgroup_attach_type_from_string(const char *str) _pure_; -const char *bpf_cgroup_attach_type_to_string(int attach_type) _const_; +const char* bpf_cgroup_attach_type_to_string(int attach_type) _const_; DEFINE_TRIVIAL_CLEANUP_FUNC(BPFProgram*, bpf_program_free); -- cgit v1.2.3