summaryrefslogtreecommitdiffstats
path: root/tools/lib/bpf/str_error.h
diff options
context:
space:
mode:
authorAndrey Ignatov2018-10-04 00:26:42 +0200
committerDaniel Borkmann2018-10-04 16:04:16 +0200
commiteff8190880c005e754d7d1bd315fc53a3ae9f876 (patch)
tree56362c9ce6f63cf20f2e9bd88745658d783529ba /tools/lib/bpf/str_error.h
parentlibbpf: Consistent prefixes for interfaces in str_error.h. (diff)
downloadkernel-qcow2-linux-eff8190880c005e754d7d1bd315fc53a3ae9f876.tar.gz
kernel-qcow2-linux-eff8190880c005e754d7d1bd315fc53a3ae9f876.tar.xz
kernel-qcow2-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.h6
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 */