]> git.ipfire.org Git - thirdparty/freeradius-server.git/commitdiff
add one more function
authorAlan T. DeKok <aland@freeradius.org>
Fri, 10 Dec 2021 16:34:08 +0000 (11:34 -0500)
committerAlan T. DeKok <aland@freeradius.org>
Fri, 10 Dec 2021 16:34:08 +0000 (11:34 -0500)
src/lib/util/dlist.h

index 8a94c071e6c7c1c73702c30a26b1d3f773f02ba3..22ce085125e798c7f8c66ec6d01426b861bcd2ab 100644 (file)
@@ -1129,6 +1129,9 @@ DIAG_OFF(unused-function) \
 \
        static inline   void fr_ ## _name ## _talloc_free(_list_type *list) \
                {                    fr_dlist_talloc_free(&list->_member_head); } \
+\
+       static inline   void fr_ ## _name ## _talloc_reverse_free(_list_type *list) \
+               {                    fr_dlist_talloc_reverse_free(&list->_member_head); } \
 \
        static inline   unsigned int fr_ ## _name ## _num_elements(_list_type const *list) \
                { return                     fr_dlist_num_elements(&list->_member_head); } \