mirror of
https://github.com/jemalloc/jemalloc.git
synced 2026-07-24 22:03:07 +00:00
Unify semicolon after ph_proto and ph_structs
Fix extra semicolon after these macros. Found by GCC 16 (pedantic).
This commit is contained in:
committed by
Guangli Dai
parent
548e233966
commit
a34a8c5e13
@@ -95,8 +95,8 @@ struct edata_cmp_summary_s {
|
|||||||
|
|
||||||
/* Extent (span of pages). Use accessor functions for e_* fields. */
|
/* Extent (span of pages). Use accessor functions for e_* fields. */
|
||||||
typedef struct edata_s edata_t;
|
typedef struct edata_s edata_t;
|
||||||
ph_structs(edata_avail, 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);
|
ph_structs(edata_heap, edata_t, ESET_ENUMERATE_MAX_NUM)
|
||||||
struct edata_s {
|
struct edata_s {
|
||||||
/*
|
/*
|
||||||
* Bitfield containing several fields:
|
* Bitfield containing several fields:
|
||||||
|
|||||||
@@ -27,7 +27,7 @@
|
|||||||
*/
|
*/
|
||||||
#define PSSET_ENUMERATE_MAX_NUM 32
|
#define PSSET_ENUMERATE_MAX_NUM 32
|
||||||
typedef struct hpdata_s hpdata_t;
|
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 {
|
struct hpdata_s {
|
||||||
/*
|
/*
|
||||||
* We likewise follow the edata convention of mangling names and forcing
|
* 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_purge_list, hpdata_t, ql_link_purge)
|
||||||
TYPED_LIST(hpdata_hugify_list, hpdata_t, ql_link_hugify)
|
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 *
|
static inline void *
|
||||||
hpdata_addr_get(const hpdata_t *hpdata) {
|
hpdata_addr_get(const hpdata_t *hpdata) {
|
||||||
|
|||||||
Reference in New Issue
Block a user