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/ruleset.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/ruleset.h')
-rw-r--r-- | include/libnftables/ruleset.h | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/include/libnftables/ruleset.h b/include/libnftables/ruleset.h index 71ef3b1..1ec3059 100644 --- a/include/libnftables/ruleset.h +++ b/include/libnftables/ruleset.h @@ -1,5 +1,5 @@ -#ifndef _RULESET_H_ -#define _RULESET_H_ +#ifndef _LIBNFTABLES_RULESET_H_ +#define _LIBNFTABLES_RULESET_H_ #include <stdio.h> @@ -38,4 +38,4 @@ int nft_ruleset_fprintf(FILE *fp, const struct nft_ruleset *rs, uint32_t type, u } /* extern "C" */ #endif -#endif /* _RULESET_H_ */ +#endif /* _LIBNFTABLES_RULESET_H_ */ |