projects
/
project
/
libubox.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
5cfe269
)
vlist.h: protect against multiple inclusions
author
Felix Fietkau
<nbd@openwrt.org>
Sun, 10 Jun 2012 15:11:36 +0000
(17:11 +0200)
committer
Felix Fietkau
<nbd@openwrt.org>
Sun, 10 Jun 2012 15:11:36 +0000
(17:11 +0200)
vlist.h
patch
|
blob
|
history
diff --git
a/vlist.h
b/vlist.h
index
19c1c20
..
1dfc92c
100644
(file)
--- 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