From a34a8c5e137981214bf7c36ed3e0058c2b207783 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Christoph=20Gr=C3=BCninger?= Date: Sat, 2 May 2026 18:13:54 +0200 Subject: [PATCH] Unify semicolon after ph_proto and ph_structs Fix extra semicolon after these macros. Found by GCC 16 (pedantic). --- include/jemalloc/internal/edata.h | 4 ++-- include/jemalloc/internal/hpdata.h | 4 ++-- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/include/jemalloc/internal/edata.h b/include/jemalloc/internal/edata.h index 1da4cdda..6e321642 100644 --- a/include/jemalloc/internal/edata.h +++ b/include/jemalloc/internal/edata.h @@ -95,8 +95,8 @@ struct edata_cmp_summary_s { /* Extent (span of pages). Use accessor functions for e_* fields. */ typedef struct edata_s edata_t; -ph_structs(edata_avail, edata_t, ESET_ENUMERATE_MAX_NUM); -ph_structs(edata_heap, edata_t, ESET_ENUMERATE_MAX_NUM); +ph_structs(edata_avail, edata_t, ESET_ENUMERATE_MAX_NUM) +ph_structs(edata_heap, edata_t, ESET_ENUMERATE_MAX_NUM) struct edata_s { /* * Bitfield containing several fields: diff --git a/include/jemalloc/internal/hpdata.h b/include/jemalloc/internal/hpdata.h index 48929311..6224f03d 100644 --- a/include/jemalloc/internal/hpdata.h +++ b/include/jemalloc/internal/hpdata.h @@ -27,7 +27,7 @@ */ #define PSSET_ENUMERATE_MAX_NUM 32 typedef struct hpdata_s hpdata_t; -ph_structs(hpdata_age_heap, hpdata_t, PSSET_ENUMERATE_MAX_NUM); +ph_structs(hpdata_age_heap, hpdata_t, PSSET_ENUMERATE_MAX_NUM) struct hpdata_s { /* * We likewise follow the edata convention of mangling names and forcing @@ -136,7 +136,7 @@ TYPED_LIST(hpdata_empty_list, hpdata_t, ql_link_empty) TYPED_LIST(hpdata_purge_list, hpdata_t, ql_link_purge) TYPED_LIST(hpdata_hugify_list, hpdata_t, ql_link_hugify) -ph_proto(, hpdata_age_heap, hpdata_t); +ph_proto(, hpdata_age_heap, hpdata_t) static inline void * hpdata_addr_get(const hpdata_t *hpdata) {