--- libelwix/src/elwix.c 2014/02/21 13:15:32 1.3.12.1 +++ libelwix/src/elwix.c 2015/06/24 23:28:29 1.5.4.1 @@ -3,7 +3,7 @@ * by Michael Pounov * * $Author: misho $ -* $Id: elwix.c,v 1.3.12.1 2014/02/21 13:15:32 misho Exp $ +* $Id: elwix.c,v 1.5.4.1 2015/06/24 23:28:29 misho Exp $ * ************************************************************************** The ELWIX and AITNET software is distributed under the following @@ -119,15 +119,16 @@ elwix_mm_inuse() } +#pragma GCC visibility push(hidden) // init libelwix routine -__attribute__((constructor)) void +__attribute__((constructor)) static void _elwix_init() { - elwixInit(ELWIX_MPOOL, 0); + elwixInit(MEMMGR, 0); } // fini libelwix routine -__attribute__((destructor)) void +__attribute__((destructor)) static void _elwix_fini() { elwixFini(); @@ -193,6 +194,7 @@ elwixFini() break; } } +#pragma GCC visibility pop /* * elwix_byteOrder() - Detect platform byte order