diff --git a/target/src/poolLib.c b/target/src/poolLib.c index 7cbd35b..c71516a 100644 --- a/target/src/poolLib.c +++ b/target/src/poolLib.c @@ -62,7 +62,8 @@ LOCAL BOOL poolBlockIsFree(POOL_ID poolId, POOL_BLOCK * pBlk); /* * poolLibInit - initialize the poolLib. */ -LW_CONSTRUCTOR_BEGIN void poolLibInit (void) +LW_CONSTRUCTOR_BEGIN +LW_LIB_HOOK_STATIC void poolLibInit (void) { if (!poolListMutex) { poolListMutex = semMCreate(POOL_SEM_CREATE_ATTRIB); diff --git a/target/src/vxWorks.c b/target/src/vxWorks.c index a8a6a21..e68b235 100644 --- a/target/src/vxWorks.c +++ b/target/src/vxWorks.c @@ -48,7 +48,8 @@ extern void vxWorksLogDeinit(void); /* * VxWorks compatibility init. */ -LW_CONSTRUCTOR_BEGIN void __vxWorksInit (void) +LW_CONSTRUCTOR_BEGIN +LW_LIB_HOOK_STATIC void __vxWorksInit (void) { allocAlignSize = sizeof(size_t); stackAlignSize = sizeof(LW_STACK); @@ -70,7 +71,8 @@ LW_CONSTRUCTOR_END(__vxWorksInit) /* * VxWorks compatibility deinit. */ -LW_DESTRUCTOR_BEGIN void __vxWorksDeinit (void) +LW_DESTRUCTOR_BEGIN +LW_LIB_HOOK_STATIC void __vxWorksDeinit (void) { vxWorksLogDeinit();