]> granicus.if.org Git - libatomic_ops/commit
Turn atomic_ops_malloc static mmap-related empty functions into macro
authorIvan Maidanski <ivmai@mail.ru>
Wed, 21 Sep 2011 09:02:40 +0000 (13:02 +0400)
committerIvan Maidanski <ivmai@mail.ru>
Wed, 21 Sep 2011 09:02:40 +0000 (13:02 +0400)
commita57f21af8336f875080b8bb73cdbff05ce72cb5d
treee0449e7deaa37369683b61ba024c6fcceb0d9789
parentf2b8965b1e62925b3e6fb3d8015e6b8bb54ae1e2
Turn atomic_ops_malloc static mmap-related empty functions into macro
definitions in case of missing mmap() to eliminate a compiler warning
about unused arguments.

* src/atomic_ops_malloc.c (get_mmaped, AO_malloc_large,
AO_free_large): Turn static empty function into macro definition;
remove ARGSUSED comment-based annotation.
src/atomic_ops_malloc.c