--- ptrlist.h | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/ptrlist.h b/ptrlist.h index 93de46c0b..e308f437c 100644 --- a/ptrlist.h +++ b/ptrlist.h @@ -31,6 +31,12 @@ struct ptr_list { void *list[LIST_NODE_NR]; }; +struct ptr_cur { + struct ptr_list *h; /* head of the list */ + struct ptr_list *l; /* current block */ + int n; /* current index on the curent block */ +}; + #define ptr_list_empty(x) ((x) == NULL) void * undo_ptr_list_last(struct ptr_list **head); -- 2.13.0 -- To unsubscribe from this list: send the line "unsubscribe linux-sparse" in the body of a message to majordomo@xxxxxxxxxxxxxxx More majordomo info at http://vger.kernel.org/majordomo-info.html