From: Arran Cudbard-Bell Date: Thu, 12 Jan 2023 19:43:31 +0000 (-0600) Subject: Type and func macros don't use semicolons in other places X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=fd9bc0a386786e074dc68f20acb6f4e6dd3a2ed8;p=thirdparty%2Ffreeradius-server.git Type and func macros don't use semicolons in other places --- diff --git a/src/lib/util/slab.h b/src/lib/util/slab.h index 83208529fd3..42ad731af32 100644 --- a/src/lib/util/slab.h +++ b/src/lib/util/slab.h @@ -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 * diff --git a/src/lib/util/slab_tests.c b/src/lib/util/slab_tests.c index 54fc211f2a5..a041e61348c 100644 --- a/src/lib/util/slab_tests.c +++ b/src/lib/util/slab_tests.c @@ -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 *