diff options
author | Filip Gawin <[email protected]> | 2019-01-09 19:43:54 +0100 |
---|---|---|
committer | Filip Gawin <[email protected]> | 2019-01-09 19:43:54 +0100 |
commit | 6ddb2c36fc19f0bdcd46ff56536525325d4d3bc5 (patch) | |
tree | 6a3a30275aa10a898e064d89648e4971cd81f1a7 /common/almalloc.cpp | |
parent | 4169c6f37db4fa1cc8e2d052b377af479763a930 (diff) |
Remove redundant void argument list in function def
Diffstat (limited to 'common/almalloc.cpp')
-rw-r--r-- | common/almalloc.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/common/almalloc.cpp b/common/almalloc.cpp index 7f13cfba..35b95001 100644 --- a/common/almalloc.cpp +++ b/common/almalloc.cpp @@ -73,7 +73,7 @@ void al_free(void *ptr) noexcept #endif } -size_t al_get_page_size(void) noexcept +size_t al_get_page_size() noexcept { static size_t psize = 0; if(UNLIKELY(!psize)) @@ -98,7 +98,7 @@ size_t al_get_page_size(void) noexcept return psize; } -int al_is_sane_alignment_allocator(void) noexcept +int al_is_sane_alignment_allocator() noexcept { #if defined(HAVE_ALIGNED_ALLOC) || defined(HAVE_POSIX_MEMALIGN) || defined(HAVE__ALIGNED_MALLOC) return 1; |