diff options
author | Felix Fietkau <nbd@openwrt.org> | 2012-06-10 19:11:36 +0400 |
---|---|---|
committer | Felix Fietkau <nbd@openwrt.org> | 2012-06-10 19:11:36 +0400 |
commit | eedf91d212caea67920848e1c7e9355173359986 (patch) | |
tree | 9db9e5df4f57bc506def50151a50339950e6ff3a /vlist.h | |
parent | 5cfe2696f0101dc3b304dbffeefd6723b7ec8453 (diff) |
vlist.h: protect against multiple inclusions
Diffstat (limited to 'vlist.h')
-rw-r--r-- | vlist.h | 4 |
1 files changed, 4 insertions, 0 deletions
@@ -14,6 +14,9 @@ * OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE. */ +#ifndef __LIBUBOX_VLIST_H +#define __LIBUBOX_VLIST_H + #include "avl.h" struct vlist_tree; @@ -56,3 +59,4 @@ void vlist_flush_all(struct vlist_tree *tree); #define vlist_for_each_element(tree, element, node_member) \ avl_for_each_element(&(tree)->avl, element, node_member.avl) +#endif |