mirror of
http://git.haproxy.org/git/haproxy.git/
synced 2025-02-16 18:46:54 +00:00
MINOR: protect ebimtree/ebistree against multiple inclusions
These two files were missing the usual #ifndef around the code. (cherry picked from commit f2873b23705ff08ca3ab4f1a6b27050e572e1d9e)
This commit is contained in:
parent
7519560767
commit
20a81c2d3f
@ -18,6 +18,9 @@
|
||||
* Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA
|
||||
*/
|
||||
|
||||
#ifndef _EBIMTREE_H
|
||||
#define _EBIMTREE_H
|
||||
|
||||
#include <string.h>
|
||||
#include "ebtree.h"
|
||||
#include "ebpttree.h"
|
||||
@ -317,3 +320,5 @@ __ebim_insert(struct eb_root *root, struct ebpt_node *new, unsigned int len)
|
||||
root->b[side] = eb_dotag(&new->node.branches, EB_NODE);
|
||||
return new;
|
||||
}
|
||||
|
||||
#endif /* _EBIMTREE_H */
|
||||
|
@ -20,6 +20,9 @@
|
||||
|
||||
/* These functions and macros rely on Multi-Byte nodes */
|
||||
|
||||
#ifndef _EBISTREE_H
|
||||
#define _EBISTREE_H
|
||||
|
||||
#include <string.h>
|
||||
#include "ebtree.h"
|
||||
#include "ebpttree.h"
|
||||
@ -323,3 +326,4 @@ __ebis_insert(struct eb_root *root, struct ebpt_node *new)
|
||||
return new;
|
||||
}
|
||||
|
||||
#endif /* _EBISTREE_H */
|
||||
|
Loading…
Reference in New Issue
Block a user