diff options
Diffstat (limited to 'include/stringlist.h')
-rw-r--r-- | include/stringlist.h | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/include/stringlist.h b/include/stringlist.h index 8738137c8a..127998cb6e 100644 --- a/include/stringlist.h +++ b/include/stringlist.h @@ -29,4 +29,7 @@ static inline void string_list_free(struct string_list *sl) } } +#define string_list_for_each_entry(entry, sl) \ + list_for_each_entry(entry, &(sl)->list, list) + #endif /* __STRINGLIST_H */ |