summaryrefslogtreecommitdiffstats
path: root/src/shared/bpf-program.h
diff options
context:
space:
mode:
authorZbigniew Jędrzejewski-Szmek <zbyszek@in.waw.pl>2024-05-17 08:54:00 +0200
committerZbigniew Jędrzejewski-Szmek <zbyszek@in.waw.pl>2024-06-19 16:28:28 +0200
commitbfd5a0687fcc65e5617d5bab69ff653393f23e70 (patch)
tree10f216d7a6ebdd984df003259c5b84fe139a91bd /src/shared/bpf-program.h
parentFix confusion between killer and prey (diff)
downloadsystemd-bfd5a0687fcc65e5617d5bab69ff653393f23e70.tar.xz
systemd-bfd5a0687fcc65e5617d5bab69ff653393f23e70.zip
various: move const ptr indicator to return value
Diffstat (limited to 'src/shared/bpf-program.h')
-rw-r--r--src/shared/bpf-program.h2
1 files changed, 1 insertions, 1 deletions
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);