--- libelwix/src/elwix.c 2014/02/21 13:30:19 1.4 +++ libelwix/src/elwix.c 2014/03/26 00:10:38 1.4.2.2 @@ -3,7 +3,7 @@ * by Michael Pounov * * $Author: misho $ -* $Id: elwix.c,v 1.4 2014/02/21 13:30:19 misho Exp $ +* $Id: elwix.c,v 1.4.2.2 2014/03/26 00:10:38 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); } // 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