From: Alan T. DeKok Date: Fri, 10 Dec 2021 16:34:08 +0000 (-0500) Subject: add one more function X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=1e6e1a750613d2f32317b22d52f2c673e8e6989e;p=thirdparty%2Ffreeradius-server.git add one more function --- diff --git a/src/lib/util/dlist.h b/src/lib/util/dlist.h index 8a94c071e6c..22ce085125e 100644 --- a/src/lib/util/dlist.h +++ b/src/lib/util/dlist.h @@ -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); } \