diff options
author | Andrey Ignatov <rdna@fb.com> | 2018-10-04 01:26:42 +0300 |
---|---|---|
committer | Daniel Borkmann <daniel@iogearbox.net> | 2018-10-04 17:04:16 +0300 |
commit | eff8190880c005e754d7d1bd315fc53a3ae9f876 (patch) | |
tree | 56362c9ce6f63cf20f2e9bd88745658d783529ba /tools/lib/bpf/btf.h | |
parent | 24d6a8084259e22acf9a80d4de3606a031f42f6d (diff) | |
download | linux-eff8190880c005e754d7d1bd315fc53a3ae9f876.tar.xz |
libbpf: Make include guards consistent
Rename include guards to have consistent names "__LIBBPF_<header_name>".
Signed-off-by: Andrey Ignatov <rdna@fb.com>
Acked-by: Alexei Starovoitov <ast@kernel.org>
Signed-off-by: Daniel Borkmann <daniel@iogearbox.net>
Diffstat (limited to 'tools/lib/bpf/btf.h')
-rw-r--r-- | tools/lib/bpf/btf.h | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/tools/lib/bpf/btf.h b/tools/lib/bpf/btf.h index 4897e0724d4e..d5d20682eeb6 100644 --- a/tools/lib/bpf/btf.h +++ b/tools/lib/bpf/btf.h @@ -1,8 +1,8 @@ /* SPDX-License-Identifier: LGPL-2.1 */ /* Copyright (c) 2018 Facebook */ -#ifndef __BPF_BTF_H -#define __BPF_BTF_H +#ifndef __LIBBPF_BTF_H +#define __LIBBPF_BTF_H #include <linux/types.h> @@ -23,4 +23,4 @@ int btf__resolve_type(const struct btf *btf, __u32 type_id); int btf__fd(const struct btf *btf); const char *btf__name_by_offset(const struct btf *btf, __u32 offset); -#endif +#endif /* __LIBBPF_BTF_H */ |