]> git.ipfire.org Git - thirdparty/freeradius-server.git/commitdiff
Type and func macros don't use semicolons in other places
authorArran Cudbard-Bell <a.cudbardb@freeradius.org>
Thu, 12 Jan 2023 19:43:31 +0000 (13:43 -0600)
committerArran Cudbard-Bell <a.cudbardb@freeradius.org>
Thu, 12 Jan 2023 19:43:31 +0000 (13:43 -0600)
src/lib/util/slab.h
src/lib/util/slab_tests.c

index 83208529fd31f811439494bac47cb9c46365b31d..42ad731af32c1580e2271a05f60bf4f8b87ece66 100644 (file)
@@ -90,7 +90,7 @@ extern "C" {
                fr_ ## _name ## _slab_t                         *slab; \
                fr_ ## _type ## _slab_free_t                    free; \
                void                                            *uctx; \
-       } fr_ ## _name ## _slab_element_t
+       } fr_ ## _name ## _slab_element_t;
 
 /** Define type specific wrapper functions for slabs and slab elements
  *
index 54fc211f2a5788aed90b4c3404eb7651b4a36748..a041e61348c3d612827a00a45449502195f9805d 100644 (file)
@@ -35,9 +35,9 @@ static fr_time_t test_time(void)
        return test_time_base;
 }
 
-FR_SLAB_TYPES(test, test_element_t);
+FR_SLAB_TYPES(test, test_element_t)
 
-FR_SLAB_FUNCS(test, test_element_t, fr_time_delta_from_sec(1));
+FR_SLAB_FUNCS(test, test_element_t, fr_time_delta_from_sec(1))
 
 /** Test basic allocation and reservation of elements
  *