mirror of
https://github.com/jemalloc/jemalloc.git
synced 2026-07-23 13:13:06 +00:00
Fixes to prevent static analysis warnings.
This commit is contained in:
@@ -153,7 +153,7 @@ struct hpa_shard_s {
|
||||
peak_demand_t peak_demand;
|
||||
};
|
||||
|
||||
bool hpa_hugepage_size_exceeds_limit();
|
||||
bool hpa_hugepage_size_exceeds_limit(void);
|
||||
/*
|
||||
* Whether or not the HPA can be used given the current configuration. This is
|
||||
* is not necessarily a guarantee that it backs its allocations by hugepages,
|
||||
|
||||
@@ -55,7 +55,7 @@ extern size_t sz_large_pad;
|
||||
extern void sz_boot(const sc_data_t *sc_data, bool cache_oblivious);
|
||||
|
||||
JEMALLOC_ALWAYS_INLINE bool
|
||||
sz_large_size_classes_disabled() {
|
||||
sz_large_size_classes_disabled(void) {
|
||||
return opt_disable_large_size_classes;
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user