CLEANUP: namespaces: fix protection against multiple inclusions

The include file did not protect correctly against multiple inclusions,
as it didn't define the file name after checking for it. That's currently
harmless as the file is only included from .c but that could change.
This commit is contained in:
Willy Tarreau 2015-04-07 21:00:08 +02:00
parent 3def393f8d
commit 1b90511eeb

View File

@ -1,4 +1,5 @@
#ifndef NAMESPACE_H
#ifndef _NAMESPACE_H
#define _NAMESPACE_H
#include <stdlib.h>
#include <ebistree.h>
@ -21,4 +22,4 @@ const struct netns_entry* netns_store_lookup(const char *ns_name, size_t ns_name
int netns_init(void);
#endif /* CONFIG_HAP_NS */
#endif /* NAMESPACE_H */
#endif /* _NAMESPACE_H */