aboutsummaryrefslogtreecommitdiffstats
path: root/tools/lib/bpf/str_error.h
diff options
context:
space:
mode:
authorAndrey Ignatov <[email protected]>2018-10-03 22:26:42 +0000
committerDaniel Borkmann <[email protected]>2018-10-04 14:04:16 +0000
commiteff8190880c005e754d7d1bd315fc53a3ae9f876 (patch)
tree56362c9ce6f63cf20f2e9bd88745658d783529ba /tools/lib/bpf/str_error.h
parentlibbpf: Consistent prefixes for interfaces in str_error.h. (diff)
downloadkernel-eff8190880c005e754d7d1bd315fc53a3ae9f876.tar.gz
kernel-eff8190880c005e754d7d1bd315fc53a3ae9f876.zip
libbpf: Make include guards consistent
Rename include guards to have consistent names "__LIBBPF_<header_name>". Signed-off-by: Andrey Ignatov <[email protected]> Acked-by: Alexei Starovoitov <[email protected]> Signed-off-by: Daniel Borkmann <[email protected]>
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 */