mirror of
https://github.com/jemalloc/jemalloc.git
synced 2026-04-14 14:41:42 +03:00
Fixes to prevent static analysis warnings.
This commit is contained in:
parent
8347f1045a
commit
37bf846cc3
7 changed files with 8 additions and 8 deletions
|
|
@ -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;
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue