X-Git-Url: https://git.archive.openwrt.org/?a=blobdiff_plain;f=vlist.h;h=1dfc92c43ec4aa33ec32548f327657341562dda0;hb=768a69b3cedfebde10825847e42f35ed4aee1856;hp=19c1c2089ec78daf2ab43f62639ea77b634ec073;hpb=cddd9326dc9686a450005c8d53a36b06e3e60e8e;p=project%2Flibubox.git diff --git a/vlist.h b/vlist.h index 19c1c20..1dfc92c 100644 --- a/vlist.h +++ b/vlist.h @@ -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