diff options
author | Andrey Ignatov <rdna@fb.com> | 2018-10-03 18:26:42 -0400 |
---|---|---|
committer | Daniel Borkmann <daniel@iogearbox.net> | 2018-10-04 10:04:16 -0400 |
commit | eff8190880c005e754d7d1bd315fc53a3ae9f876 (patch) | |
tree | 56362c9ce6f63cf20f2e9bd88745658d783529ba /tools/lib/bpf/bpf.h | |
parent | 24d6a8084259e22acf9a80d4de3606a031f42f6d (diff) |
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/bpf.h')
-rw-r--r-- | tools/lib/bpf/bpf.h | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/tools/lib/bpf/bpf.h b/tools/lib/bpf/bpf.h index 6f38164b2618..4c78f61b7c71 100644 --- a/tools/lib/bpf/bpf.h +++ b/tools/lib/bpf/bpf.h | |||
@@ -20,8 +20,8 @@ | |||
20 | * You should have received a copy of the GNU Lesser General Public | 20 | * You should have received a copy of the GNU Lesser General Public |
21 | * License along with this program; if not, see <http://www.gnu.org/licenses> | 21 | * License along with this program; if not, see <http://www.gnu.org/licenses> |
22 | */ | 22 | */ |
23 | #ifndef __BPF_BPF_H | 23 | #ifndef __LIBBPF_BPF_H |
24 | #define __BPF_BPF_H | 24 | #define __LIBBPF_BPF_H |
25 | 25 | ||
26 | #include <linux/bpf.h> | 26 | #include <linux/bpf.h> |
27 | #include <stdbool.h> | 27 | #include <stdbool.h> |
@@ -111,4 +111,4 @@ int bpf_load_btf(void *btf, __u32 btf_size, char *log_buf, __u32 log_buf_size, | |||
111 | int bpf_task_fd_query(int pid, int fd, __u32 flags, char *buf, __u32 *buf_len, | 111 | int bpf_task_fd_query(int pid, int fd, __u32 flags, char *buf, __u32 *buf_len, |
112 | __u32 *prog_id, __u32 *fd_type, __u64 *probe_offset, | 112 | __u32 *prog_id, __u32 *fd_type, __u64 *probe_offset, |
113 | __u64 *probe_addr); | 113 | __u64 *probe_addr); |
114 | #endif | 114 | #endif /* __LIBBPF_BPF_H */ |