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/nlattr.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/nlattr.h')
-rw-r--r-- | tools/lib/bpf/nlattr.h | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/tools/lib/bpf/nlattr.h b/tools/lib/bpf/nlattr.h index 755a3312c87f..7198584a3040 100644 --- a/tools/lib/bpf/nlattr.h +++ b/tools/lib/bpf/nlattr.h @@ -11,8 +11,8 @@ * Copyright (c) 2003-2013 Thomas Graf <tgraf@suug.ch> */ -#ifndef __NLATTR_H -#define __NLATTR_H +#ifndef __LIBBPF_NLATTR_H +#define __LIBBPF_NLATTR_H #include <stdint.h> #include <linux/netlink.h> @@ -108,4 +108,4 @@ int libbpf_nla_parse_nested(struct nlattr *tb[], int maxtype, int libbpf_nla_dump_errormsg(struct nlmsghdr *nlh); -#endif /* __NLATTR_H */ +#endif /* __LIBBPF_NLATTR_H */ |