change __uci_list_add to uci_list_insert and remove an unnecessary parameter
[project/uci.git] / uci.h
diff --git a/uci.h b/uci.h
index ce3e120..a6572c5 100644 (file)
--- a/uci.h
+++ b/uci.h
@@ -46,10 +46,11 @@ enum
        UCI_ERR_LAST
 };
 
+struct uci_list;
 struct uci_list
 {
-       void *next;
-       void *prev;
+       struct uci_list *next;
+       struct uci_list *prev;
 };
 
 struct uci_element;