mirror of
http://git.haproxy.org/git/haproxy.git/
synced 2024-12-23 21:22:17 +00:00
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:
parent
3def393f8d
commit
1b90511eeb
@ -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 */
|
||||
|
Loading…
Reference in New Issue
Block a user