-
Couldn't load subscription status.
- Fork 243
Description
Describe the bug
The osapi-os-core.h header defines several prototypes e.g. OS_ShMemCreate(). However, these functions are not implemented anywhere, and are not used by CFE nor CFS apps.
To Reproduce
N/A - this is unused code.
Expected behavior
The headers should not include these prototypes if they are not implemented and there is no plan or requirement to implement them.
Code snips
/*
** Shared memory API
*/
int32 OS_ShMemInit (void);
int32 OS_ShMemCreate (uint32 *Id, uint32 NBytes, const char* SegName);
int32 OS_ShMemSemTake (uint32 Id);
int32 OS_ShMemSemGive (uint32 Id);
int32 OS_ShMemAttach (cpuaddr * Address, uint32 Id);
int32 OS_ShMemGetIdByName (uint32 *ShMemId, const char *SegName );
System observed on:
Ubuntu 18.04 (64-bit)
Reporter Info
Joseph Hickey, Vantage Systems, Inc.