mirror of
https://github.com/microsoft/mimalloc.git
synced 2025-07-06 19:38:41 +03:00
Merge pull request #467 from tiran/strict_prototypes
Fix strict function prototype warnings
This commit is contained in:
commit
1917fbd847
6 changed files with 13 additions and 13 deletions
2
src/os.c
2
src/os.c
|
@ -98,7 +98,7 @@ size_t _mi_os_page_size() {
|
|||
}
|
||||
|
||||
// if large OS pages are supported (2 or 4MiB), then return the size, otherwise return the small page size (4KiB)
|
||||
size_t _mi_os_large_page_size() {
|
||||
size_t _mi_os_large_page_size(void) {
|
||||
return (large_os_page_size != 0 ? large_os_page_size : _mi_os_page_size());
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue