diff options
author | Andrey Ignatov <rdna@fb.com> | 2018-10-03 15:26:42 -0700 |
---|---|---|
committer | Daniel Borkmann <daniel@iogearbox.net> | 2018-10-04 16:04:16 +0200 |
commit | eff8190880c005e754d7d1bd315fc53a3ae9f876 (patch) | |
tree | 56362c9ce6f63cf20f2e9bd88745658d783529ba /tools/lib/bpf/str_error.h | |
parent | 24d6a8084259e22acf9a80d4de3606a031f42f6d (diff) | |
download | linux-eff8190880c005e754d7d1bd315fc53a3ae9f876.tar.gz linux-eff8190880c005e754d7d1bd315fc53a3ae9f876.tar.bz2 linux-eff8190880c005e754d7d1bd315fc53a3ae9f876.zip |
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/str_error.h')
-rw-r--r-- | tools/lib/bpf/str_error.h | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/tools/lib/bpf/str_error.h b/tools/lib/bpf/str_error.h index 998eff7d6710..b9157f5eebde 100644 --- a/tools/lib/bpf/str_error.h +++ b/tools/lib/bpf/str_error.h @@ -1,6 +1,6 @@ // SPDX-License-Identifier: LGPL-2.1 -#ifndef BPF_STR_ERROR -#define BPF_STR_ERROR +#ifndef __LIBBPF_STR_ERROR_H +#define __LIBBPF_STR_ERROR_H char *libbpf_strerror_r(int err, char *dst, int len); -#endif // BPF_STR_ERROR +#endif /* __LIBBPF_STR_ERROR_H */ |