diff options
author | Pablo Neira Ayuso <pablo@netfilter.org> | 2013-11-24 20:43:49 +0100 |
---|---|---|
committer | Pablo Neira Ayuso <pablo@netfilter.org> | 2013-11-24 20:52:36 +0100 |
commit | 16f85ed04049501bf5ac932a5ae44627d76ef747 (patch) | |
tree | 00232046cfc9ef5ffe22d2fc4203e62978671068 /include/libnftables/rule.h | |
parent | 47d11ab2153447d7291a5c325cf0cf7bc124b05d (diff) |
include: fix possible clash in ifdef namespace
Use _LIBNFTABLES_ prefix to avoid possible clash with headers that
are defined in other libraries that may be used by third party
applications.
Signed-off-by: Pablo Neira Ayuso <pablo@netfilter.org>
Diffstat (limited to 'include/libnftables/rule.h')
-rw-r--r-- | include/libnftables/rule.h | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/include/libnftables/rule.h b/include/libnftables/rule.h index 4957a2a..d1d75e1 100644 --- a/include/libnftables/rule.h +++ b/include/libnftables/rule.h @@ -1,5 +1,5 @@ -#ifndef _RULE_H_ -#define _RULE_H_ +#ifndef _LIBNFTABLES_RULE_H_ +#define _LIBNFTABLES_RULE_H_ #include <stdio.h> #include <stdint.h> @@ -85,4 +85,4 @@ void nft_rule_list_iter_destroy(struct nft_rule_list_iter *iter); } /* extern "C" */ #endif -#endif /* _RULE_H_ */ +#endif /* _LIBNFTABLES_RULE_H_ */ |