Declaring method list_memory_allocs() "static" in header instead of definition.
Merge pull request #2204 from tklein23/static_linkage_in_definition

Declaring method list_memory_allocs() "static" in header