mirror of
https://github.com/Fishwaldo/Star64_linux.git
synced 2025-06-28 01:21:58 +00:00
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>
This commit is contained in:
parent
24d6a80842
commit
eff8190880
5 changed files with 15 additions and 15 deletions
|
@ -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 */
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue