]> git.ipfire.org Git - thirdparty/freeradius-server.git/commitdiff
...as demonstrated by these
authorArran Cudbard-Bell <a.cudbardb@freeradius.org>
Thu, 12 Jan 2023 19:52:29 +0000 (13:52 -0600)
committerArran Cudbard-Bell <a.cudbardb@freeradius.org>
Thu, 12 Jan 2023 19:52:29 +0000 (13:52 -0600)
src/lib/util/slab.h

index 42ad731af32c1580e2271a05f60bf4f8b87ece66..b588ff6ac743bcfafdba6f968516b6b721169565 100644 (file)
@@ -49,8 +49,8 @@ extern "C" {
  * @param[in] _type    of structure which will be held in the slab elements.
  */
 #define FR_SLAB_TYPES(_name, _type) \
-       FR_DLIST_TYPES(fr_ ## _name ## _slab); \
-       FR_DLIST_TYPES(fr_ ## _name ## _slab_element); \
+       FR_DLIST_TYPES(fr_ ## _name ## _slab) \
+       FR_DLIST_TYPES(fr_ ## _name ## _slab_element) \
 \
        typedef int (*fr_ ## _type ## _slab_free_t)(_type *elem, void *uctx); \
        typedef int (*fr_ ## _type ## _slab_alloc_t)(_type *elem, void *uctx); \
@@ -102,8 +102,8 @@ extern "C" {
  * @param[in] _interval        between cleanup events.
  */
 #define FR_SLAB_FUNCS(_name, _type, _interval) \
-       FR_DLIST_FUNCS(fr_ ## _name ## _slab, fr_ ## _name ## _slab_t, entry); \
-       FR_DLIST_FUNCS(fr_ ## _name ## _slab_element, fr_ ## _name ## _slab_element_t, entry); \
+       FR_DLIST_FUNCS(fr_ ## _name ## _slab, fr_ ## _name ## _slab_t, entry) \
+       FR_DLIST_FUNCS(fr_ ## _name ## _slab_element, fr_ ## _name ## _slab_element_t, entry) \
 \
        /** Timer event for freeing unused slabs \
         * \