Skip to content

Commit

Permalink
Partial nasa#1474, changing return type from int32 to CFE_Status_t
Browse files Browse the repository at this point in the history
Changing the implementation return types to CFE_Status_t
to match the function prototypes.
  • Loading branch information
zachar1a authored and skliper committed May 19, 2021
1 parent 84ba9a9 commit 3d61d9d
Show file tree
Hide file tree
Showing 8 changed files with 75 additions and 75 deletions.
8 changes: 4 additions & 4 deletions modules/core_api/fsw/inc/cfe_resourceid.h
Original file line number Diff line number Diff line change
Expand Up @@ -172,7 +172,7 @@ static inline bool CFE_ResourceId_IsDefined(CFE_ResourceId_t id)
* @param[in] ResourceId the resource ID to decode
* @returns The base value associated with that ID
*/
extern uint32 CFE_ResourceId_GetBase(CFE_ResourceId_t ResourceId);
uint32 CFE_ResourceId_GetBase(CFE_ResourceId_t ResourceId);

/**
* @brief Get the Serial Number (sequential ID) from a resource ID value
Expand All @@ -183,7 +183,7 @@ extern uint32 CFE_ResourceId_GetBase(CFE_ResourceId_t ResourceId);
* @param[in] ResourceId the resource ID to decode
* @returns The serial number associated with that ID
*/
extern uint32 CFE_ResourceId_GetSerial(CFE_ResourceId_t ResourceId);
uint32 CFE_ResourceId_GetSerial(CFE_ResourceId_t ResourceId);

/**
* @brief Locate the next resource ID which does not map to an in-use table entry
Expand All @@ -202,7 +202,7 @@ extern uint32 CFE_ResourceId_GetSerial(CFE_ResourceId_t ResourceId);
* @retval #CFE_RESOURCEID_UNDEFINED if no open slots.
*
*/
extern CFE_ResourceId_t CFE_ResourceId_FindNext(CFE_ResourceId_t StartId, uint32 TableSize,
CFE_ResourceId_t CFE_ResourceId_FindNext(CFE_ResourceId_t StartId, uint32 TableSize,
bool (*CheckFunc)(CFE_ResourceId_t));

/**
Expand All @@ -214,6 +214,6 @@ extern CFE_ResourceId_t CFE_ResourceId_FindNext(CFE_ResourceId_t StartId, uint32
* @param[out] Idx The output index
* @returns Status code, CFE_SUCCESS if successful.
*/
extern int32 CFE_ResourceId_ToIndex(CFE_ResourceId_t Id, uint32 BaseValue, uint32 TableSize, uint32 *Idx);
int32 CFE_ResourceId_ToIndex(CFE_ResourceId_t Id, uint32 BaseValue, uint32 TableSize, uint32 *Idx);

#endif /* CFE_RESOURCEID_H */
58 changes: 29 additions & 29 deletions modules/es/fsw/src/cfe_es_api.c
Original file line number Diff line number Diff line change
Expand Up @@ -68,7 +68,7 @@ int32 CFE_ES_GetResetType(uint32 *ResetSubtypePtr)
* See description in header file for argument/return detail
*
*-----------------------------------------------------------------*/
int32 CFE_ES_ResetCFE(uint32 ResetType)
CFE_Status_t CFE_ES_ResetCFE(uint32 ResetType)
{
int32 ReturnCode;

Expand Down Expand Up @@ -165,7 +165,7 @@ int32 CFE_ES_ResetCFE(uint32 ResetType)
* See description in header file for argument/return detail
*
*-----------------------------------------------------------------*/
int32 CFE_ES_RestartApp(CFE_ES_AppId_t AppID)
CFE_Status_t CFE_ES_RestartApp(CFE_ES_AppId_t AppID)
{
int32 ReturnCode = CFE_SUCCESS;
os_fstat_t FileStatus;
Expand Down Expand Up @@ -234,7 +234,7 @@ int32 CFE_ES_RestartApp(CFE_ES_AppId_t AppID)
* See description in header file for argument/return detail
*
*-----------------------------------------------------------------*/
int32 CFE_ES_ReloadApp(CFE_ES_AppId_t AppID, const char *AppFileName)
CFE_Status_t CFE_ES_ReloadApp(CFE_ES_AppId_t AppID, const char *AppFileName)
{
int32 ReturnCode = CFE_SUCCESS;
os_fstat_t FileStatus;
Expand Down Expand Up @@ -297,7 +297,7 @@ int32 CFE_ES_ReloadApp(CFE_ES_AppId_t AppID, const char *AppFileName)
* See description in header file for argument/return detail
*
*-----------------------------------------------------------------*/
int32 CFE_ES_DeleteApp(CFE_ES_AppId_t AppID)
CFE_Status_t CFE_ES_DeleteApp(CFE_ES_AppId_t AppID)
{
int32 ReturnCode = CFE_SUCCESS;
CFE_ES_AppRecord_t *AppRecPtr = CFE_ES_LocateAppRecordByID(AppID);
Expand Down Expand Up @@ -568,7 +568,7 @@ bool CFE_ES_RunLoop(uint32 *RunStatus)
* See description in header file for argument/return detail
*
*-----------------------------------------------------------------*/
int32 CFE_ES_WaitForSystemState(uint32 MinSystemState, uint32 TimeOutMilliseconds)
CFE_Status_t CFE_ES_WaitForSystemState(uint32 MinSystemState, uint32 TimeOutMilliseconds)
{
int32 Status = CFE_SUCCESS;
CFE_ES_AppRecord_t *AppRecPtr;
Expand Down Expand Up @@ -685,7 +685,7 @@ void CFE_ES_WaitForStartupSync(uint32 TimeOutMilliseconds)
* See description in header file for argument/return detail
*
*-----------------------------------------------------------------*/
int32 CFE_ES_GetAppIDByName(CFE_ES_AppId_t *AppIdPtr, const char *AppName)
CFE_Status_t CFE_ES_GetAppIDByName(CFE_ES_AppId_t *AppIdPtr, const char *AppName)
{
CFE_ES_AppRecord_t *AppRecPtr;
int32 Result;
Expand Down Expand Up @@ -726,7 +726,7 @@ int32 CFE_ES_GetAppIDByName(CFE_ES_AppId_t *AppIdPtr, const char *AppName)
* See description in header file for argument/return detail
*
*-----------------------------------------------------------------*/
int32 CFE_ES_GetLibIDByName(CFE_ES_LibId_t *LibIdPtr, const char *LibName)
CFE_Status_t CFE_ES_GetLibIDByName(CFE_ES_LibId_t *LibIdPtr, const char *LibName)
{
CFE_ES_LibRecord_t *LibRecPtr;
int32 Result;
Expand Down Expand Up @@ -802,7 +802,7 @@ CFE_Status_t CFE_ES_GetTaskIDByName(CFE_ES_TaskId_t *TaskIdPtr, const char *Task
* See description in header file for argument/return detail
*
*-----------------------------------------------------------------*/
int32 CFE_ES_GetAppID(CFE_ES_AppId_t *AppIdPtr)
CFE_Status_t CFE_ES_GetAppID(CFE_ES_AppId_t *AppIdPtr)
{
CFE_ES_AppRecord_t *AppRecPtr;
int32 Result;
Expand Down Expand Up @@ -840,7 +840,7 @@ int32 CFE_ES_GetAppID(CFE_ES_AppId_t *AppIdPtr)
* See description in header file for argument/return detail
*
*-----------------------------------------------------------------*/
int32 CFE_ES_GetTaskID(CFE_ES_TaskId_t *TaskIdPtr)
CFE_Status_t CFE_ES_GetTaskID(CFE_ES_TaskId_t *TaskIdPtr)
{
int32 Result;
CFE_ES_TaskRecord_t *TaskRecPtr;
Expand Down Expand Up @@ -874,7 +874,7 @@ int32 CFE_ES_GetTaskID(CFE_ES_TaskId_t *TaskIdPtr)
* See description in header file for argument/return detail
*
*-----------------------------------------------------------------*/
int32 CFE_ES_GetAppName(char *AppName, CFE_ES_AppId_t AppId, size_t BufferLength)
CFE_Status_t CFE_ES_GetAppName(char *AppName, CFE_ES_AppId_t AppId, size_t BufferLength)
{
int32 Result;
CFE_ES_AppRecord_t *AppRecPtr;
Expand Down Expand Up @@ -920,7 +920,7 @@ int32 CFE_ES_GetAppName(char *AppName, CFE_ES_AppId_t AppId, size_t BufferLength
* See description in header file for argument/return detail
*
*-----------------------------------------------------------------*/
int32 CFE_ES_GetLibName(char *LibName, CFE_ES_LibId_t LibId, size_t BufferLength)
CFE_Status_t CFE_ES_GetLibName(char *LibName, CFE_ES_LibId_t LibId, size_t BufferLength)
{
int32 Result;
CFE_ES_LibRecord_t *LibRecPtr;
Expand Down Expand Up @@ -966,7 +966,7 @@ int32 CFE_ES_GetLibName(char *LibName, CFE_ES_LibId_t LibId, size_t BufferLength
* See description in header file for argument/return detail
*
*-----------------------------------------------------------------*/
int32 CFE_ES_GetTaskName(char *TaskName, CFE_ES_TaskId_t TaskId, size_t BufferLength)
CFE_Status_t CFE_ES_GetTaskName(char *TaskName, CFE_ES_TaskId_t TaskId, size_t BufferLength)
{
int32 Result;
osal_id_t OsalId;
Expand Down Expand Up @@ -1003,7 +1003,7 @@ int32 CFE_ES_GetTaskName(char *TaskName, CFE_ES_TaskId_t TaskId, size_t BufferLe
* See description in header file for argument/return detail
*
*-----------------------------------------------------------------*/
int32 CFE_ES_GetAppInfo(CFE_ES_AppInfo_t *AppInfo, CFE_ES_AppId_t AppId)
CFE_Status_t CFE_ES_GetAppInfo(CFE_ES_AppInfo_t *AppInfo, CFE_ES_AppId_t AppId)
{
CFE_ES_AppRecord_t * AppRecPtr;
CFE_ES_TaskRecord_t *TaskRecPtr;
Expand Down Expand Up @@ -1197,7 +1197,7 @@ int32 CFE_ES_GetModuleInfo(CFE_ES_AppInfo_t *ModuleInfo, CFE_ResourceId_t Resour
* See description in header file for argument/return detail
*
*-----------------------------------------------------------------*/
int32 CFE_ES_GetTaskInfo(CFE_ES_TaskInfo_t *TaskInfo, CFE_ES_TaskId_t TaskId)
CFE_Status_t CFE_ES_GetTaskInfo(CFE_ES_TaskInfo_t *TaskInfo, CFE_ES_TaskId_t TaskId)
{
CFE_ES_TaskRecord_t *TaskRecPtr;
CFE_ES_AppRecord_t * AppRecPtr;
Expand Down Expand Up @@ -1273,7 +1273,7 @@ int32 CFE_ES_GetTaskInfo(CFE_ES_TaskInfo_t *TaskInfo, CFE_ES_TaskId_t TaskId)
* See description in header file for argument/return detail
*
*-----------------------------------------------------------------*/
int32 CFE_ES_CreateChildTask(CFE_ES_TaskId_t *TaskIdPtr, const char *TaskName,
CFE_Status_t CFE_ES_CreateChildTask(CFE_ES_TaskId_t *TaskIdPtr, const char *TaskName,
CFE_ES_ChildTaskMainFuncPtr_t FunctionPtr, CFE_ES_StackPointer_t StackPtr,
size_t StackSize, CFE_ES_TaskPriority_Atom_t Priority, uint32 Flags)
{
Expand Down Expand Up @@ -1403,7 +1403,7 @@ void CFE_ES_IncrementTaskCounter(void)
* See description in header file for argument/return detail
*
*-----------------------------------------------------------------*/
int32 CFE_ES_DeleteChildTask(CFE_ES_TaskId_t TaskId)
CFE_Status_t CFE_ES_DeleteChildTask(CFE_ES_TaskId_t TaskId)
{
CFE_ES_TaskRecord_t *TaskRecPtr;
CFE_ES_AppRecord_t * AppRecPtr;
Expand Down Expand Up @@ -1578,7 +1578,7 @@ void CFE_ES_ExitChildTask(void)
* See description in header file for argument/return detail
*
*-----------------------------------------------------------------*/
int32 CFE_ES_WriteToSysLog(const char *SpecStringPtr, ...)
CFE_Status_t CFE_ES_WriteToSysLog(const char *SpecStringPtr, ...)
{
char TmpString[CFE_ES_MAX_SYSLOG_MSG_SIZE];
int32 ReturnCode;
Expand Down Expand Up @@ -1693,7 +1693,7 @@ uint32 CFE_ES_CalculateCRC(const void *DataPtr, size_t DataLength, uint32 InputC
* See description in header file for argument/return detail
*
*-----------------------------------------------------------------*/
int32 CFE_ES_RegisterCDS(CFE_ES_CDSHandle_t *CDSHandlePtr, size_t BlockSize, const char *Name)
CFE_Status_t CFE_ES_RegisterCDS(CFE_ES_CDSHandle_t *CDSHandlePtr, size_t BlockSize, const char *Name)
{
int32 Status;
size_t NameLen;
Expand Down Expand Up @@ -1862,7 +1862,7 @@ CFE_Status_t CFE_ES_GetCDSBlockName(char *BlockName, CFE_ES_CDSHandle_t BlockId,
* See description in header file for argument/return detail
*
*-----------------------------------------------------------------*/
int32 CFE_ES_CopyToCDS(CFE_ES_CDSHandle_t Handle, void *DataToCopy)
CFE_Status_t CFE_ES_CopyToCDS(CFE_ES_CDSHandle_t Handle, void *DataToCopy)
{
if (DataToCopy == NULL)
{
Expand All @@ -1880,7 +1880,7 @@ int32 CFE_ES_CopyToCDS(CFE_ES_CDSHandle_t Handle, void *DataToCopy)
* See description in header file for argument/return detail
*
*-----------------------------------------------------------------*/
int32 CFE_ES_RestoreFromCDS(void *RestoreToMemory, CFE_ES_CDSHandle_t Handle)
CFE_Status_t CFE_ES_RestoreFromCDS(void *RestoreToMemory, CFE_ES_CDSHandle_t Handle)
{
if (RestoreToMemory == NULL)
{
Expand All @@ -1898,7 +1898,7 @@ int32 CFE_ES_RestoreFromCDS(void *RestoreToMemory, CFE_ES_CDSHandle_t Handle)
* See description in header file for argument/return detail
*
*-----------------------------------------------------------------*/
int32 CFE_ES_RegisterGenCounter(CFE_ES_CounterId_t *CounterIdPtr, const char *CounterName)
CFE_Status_t CFE_ES_RegisterGenCounter(CFE_ES_CounterId_t *CounterIdPtr, const char *CounterName)
{
CFE_ES_GenCounterRecord_t *CountRecPtr;
CFE_ResourceId_t PendingResourceId;
Expand Down Expand Up @@ -1963,7 +1963,7 @@ int32 CFE_ES_RegisterGenCounter(CFE_ES_CounterId_t *CounterIdPtr, const char *Co
* See description in header file for argument/return detail
*
*-----------------------------------------------------------------*/
int32 CFE_ES_DeleteGenCounter(CFE_ES_CounterId_t CounterId)
CFE_Status_t CFE_ES_DeleteGenCounter(CFE_ES_CounterId_t CounterId)
{
CFE_ES_GenCounterRecord_t *CountRecPtr;
int32 Status = CFE_ES_BAD_ARGUMENT;
Expand Down Expand Up @@ -1992,7 +1992,7 @@ int32 CFE_ES_DeleteGenCounter(CFE_ES_CounterId_t CounterId)
* See description in header file for argument/return detail
*
*-----------------------------------------------------------------*/
int32 CFE_ES_IncrementGenCounter(CFE_ES_CounterId_t CounterId)
CFE_Status_t CFE_ES_IncrementGenCounter(CFE_ES_CounterId_t CounterId)
{
int32 Status = CFE_ES_BAD_ARGUMENT;
CFE_ES_GenCounterRecord_t *CountRecPtr;
Expand All @@ -2014,7 +2014,7 @@ int32 CFE_ES_IncrementGenCounter(CFE_ES_CounterId_t CounterId)
* See description in header file for argument/return detail
*
*-----------------------------------------------------------------*/
int32 CFE_ES_SetGenCount(CFE_ES_CounterId_t CounterId, uint32 Count)
CFE_Status_t CFE_ES_SetGenCount(CFE_ES_CounterId_t CounterId, uint32 Count)
{
int32 Status = CFE_ES_BAD_ARGUMENT;
CFE_ES_GenCounterRecord_t *CountRecPtr;
Expand All @@ -2036,7 +2036,7 @@ int32 CFE_ES_SetGenCount(CFE_ES_CounterId_t CounterId, uint32 Count)
* See description in header file for argument/return detail
*
*-----------------------------------------------------------------*/
int32 CFE_ES_GetGenCount(CFE_ES_CounterId_t CounterId, uint32 *Count)
CFE_Status_t CFE_ES_GetGenCount(CFE_ES_CounterId_t CounterId, uint32 *Count)
{
int32 Status = CFE_ES_BAD_ARGUMENT;
CFE_ES_GenCounterRecord_t *CountRecPtr;
Expand All @@ -2058,7 +2058,7 @@ int32 CFE_ES_GetGenCount(CFE_ES_CounterId_t CounterId, uint32 *Count)
* See description in header file for argument/return detail
*
*-----------------------------------------------------------------*/
int32 CFE_ES_GetGenCounterIDByName(CFE_ES_CounterId_t *CounterIdPtr, const char *CounterName)
CFE_Status_t CFE_ES_GetGenCounterIDByName(CFE_ES_CounterId_t *CounterIdPtr, const char *CounterName)
{
CFE_ES_GenCounterRecord_t *CounterRecPtr;
int32 Result;
Expand Down Expand Up @@ -2141,7 +2141,7 @@ CFE_Status_t CFE_ES_GetGenCounterName(char *CounterName, CFE_ES_CounterId_t Coun
* See description in header file for argument/return detail
*
*-----------------------------------------------------------------*/
int32 CFE_ES_AppID_ToIndex(CFE_ES_AppId_t AppID, uint32 *Idx)
CFE_Status_t CFE_ES_AppID_ToIndex(CFE_ES_AppId_t AppID, uint32 *Idx)
{
return CFE_ResourceId_ToIndex(CFE_RESOURCEID_UNWRAP(AppID), CFE_ES_APPID_BASE, CFE_PLATFORM_ES_MAX_APPLICATIONS,
Idx);
Expand All @@ -2168,7 +2168,7 @@ int32 CFE_ES_LibID_ToIndex(CFE_ES_LibId_t LibId, uint32 *Idx)
* See description in header file for argument/return detail
*
*-----------------------------------------------------------------*/
int32 CFE_ES_TaskID_ToIndex(CFE_ES_TaskId_t TaskID, uint32 *Idx)
CFE_Status_t CFE_ES_TaskID_ToIndex(CFE_ES_TaskId_t TaskID, uint32 *Idx)
{
osal_id_t OsalID;
osal_index_t OsalIndex;
Expand Down Expand Up @@ -2197,7 +2197,7 @@ int32 CFE_ES_TaskID_ToIndex(CFE_ES_TaskId_t TaskID, uint32 *Idx)
* See description in header file for argument/return detail
*
*-----------------------------------------------------------------*/
int32 CFE_ES_CounterID_ToIndex(CFE_ES_CounterId_t CounterId, uint32 *Idx)
CFE_Status_t CFE_ES_CounterID_ToIndex(CFE_ES_CounterId_t CounterId, uint32 *Idx)
{
return CFE_ResourceId_ToIndex(CFE_RESOURCEID_UNWRAP(CounterId), CFE_ES_COUNTID_BASE,
CFE_PLATFORM_ES_MAX_GEN_COUNTERS, Idx);
Expand Down
12 changes: 6 additions & 6 deletions modules/evs/fsw/src/cfe_evs.c
Original file line number Diff line number Diff line change
Expand Up @@ -43,7 +43,7 @@
* See description in header file for argument/return detail
*
*-----------------------------------------------------------------*/
int32 CFE_EVS_Register(const void *Filters, uint16 NumEventFilters, uint16 FilterScheme)
CFE_Status_t CFE_EVS_Register(const void *Filters, uint16 NumEventFilters, uint16 FilterScheme)
{
uint16 FilterLimit;
uint16 i;
Expand Down Expand Up @@ -121,7 +121,7 @@ int32 CFE_EVS_Register(const void *Filters, uint16 NumEventFilters, uint16 Filte
* See description in header file for argument/return detail
*
*-----------------------------------------------------------------*/
int32 CFE_EVS_Unregister(void)
CFE_Status_t CFE_EVS_Unregister(void)
{
int32 Status;
CFE_ES_AppId_t AppID;
Expand All @@ -145,7 +145,7 @@ int32 CFE_EVS_Unregister(void)
* See description in header file for argument/return detail
*
*-----------------------------------------------------------------*/
int32 CFE_EVS_SendEvent(uint16 EventID, uint16 EventType, const char *Spec, ...)
CFE_Status_t CFE_EVS_SendEvent(uint16 EventID, uint16 EventType, const char *Spec, ...)
{
int32 Status;
CFE_ES_AppId_t AppID;
Expand Down Expand Up @@ -190,7 +190,7 @@ int32 CFE_EVS_SendEvent(uint16 EventID, uint16 EventType, const char *Spec, ...)
* See description in header file for argument/return detail
*
*-----------------------------------------------------------------*/
int32 CFE_EVS_SendEventWithAppID(uint16 EventID, uint16 EventType, CFE_ES_AppId_t AppID, const char *Spec, ...)
CFE_Status_t CFE_EVS_SendEventWithAppID(uint16 EventID, uint16 EventType, CFE_ES_AppId_t AppID, const char *Spec, ...)
{
int32 Status = CFE_SUCCESS;
CFE_TIME_SysTime_t Time;
Expand Down Expand Up @@ -234,7 +234,7 @@ int32 CFE_EVS_SendEventWithAppID(uint16 EventID, uint16 EventType, CFE_ES_AppId_
* See description in header file for argument/return detail
*
*-----------------------------------------------------------------*/
int32 CFE_EVS_SendTimedEvent(CFE_TIME_SysTime_t Time, uint16 EventID, uint16 EventType, const char *Spec, ...)
CFE_Status_t CFE_EVS_SendTimedEvent(CFE_TIME_SysTime_t Time, uint16 EventID, uint16 EventType, const char *Spec, ...)
{
int32 Status;
CFE_ES_AppId_t AppID;
Expand Down Expand Up @@ -275,7 +275,7 @@ int32 CFE_EVS_SendTimedEvent(CFE_TIME_SysTime_t Time, uint16 EventID, uint16 Eve
* See description in header file for argument/return detail
*
*-----------------------------------------------------------------*/
int32 CFE_EVS_ResetFilter(int16 EventID)
CFE_Status_t CFE_EVS_ResetFilter(int16 EventID)
{
int32 Status;
EVS_BinFilter_t *FilterPtr = NULL;
Expand Down
8 changes: 4 additions & 4 deletions modules/fs/fsw/src/cfe_fs_api.c
Original file line number Diff line number Diff line change
Expand Up @@ -127,7 +127,7 @@ const char *CFE_FS_GetDefaultExtension(CFE_FS_FileCategory_t FileCategory)
* See description in header file for argument/return detail
*
*-----------------------------------------------------------------*/
int32 CFE_FS_ReadHeader(CFE_FS_Header_t *Hdr, osal_id_t FileDes)
CFE_Status_t CFE_FS_ReadHeader(CFE_FS_Header_t *Hdr, osal_id_t FileDes)
{
int32 Result;
int32 EndianCheck = 0x01020304;
Expand Down Expand Up @@ -191,7 +191,7 @@ void CFE_FS_InitHeader(CFE_FS_Header_t *Hdr, const char *Description, uint32 Sub
* See description in header file for argument/return detail
*
*-----------------------------------------------------------------*/
int32 CFE_FS_WriteHeader(osal_id_t FileDes, CFE_FS_Header_t *Hdr)
CFE_Status_t CFE_FS_WriteHeader(osal_id_t FileDes, CFE_FS_Header_t *Hdr)
{
CFE_TIME_SysTime_t Time;
int32 Result;
Expand Down Expand Up @@ -269,7 +269,7 @@ int32 CFE_FS_WriteHeader(osal_id_t FileDes, CFE_FS_Header_t *Hdr)
* See description in header file for argument/return detail
*
*-----------------------------------------------------------------*/
int32 CFE_FS_SetTimestamp(osal_id_t FileDes, CFE_TIME_SysTime_t NewTimestamp)
CFE_Status_t CFE_FS_SetTimestamp(osal_id_t FileDes, CFE_TIME_SysTime_t NewTimestamp)
{
int32 Result;
CFE_FS_Header_t TempHdr;
Expand Down Expand Up @@ -601,7 +601,7 @@ int32 CFE_FS_ParseInputFileName(char *OutputBuffer, const char *InputName, size_
* See description in header file for argument/return detail
*
*-----------------------------------------------------------------*/
int32 CFE_FS_ExtractFilenameFromPath(const char *OriginalPath, char *FileNameOnly)
CFE_Status_t CFE_FS_ExtractFilenameFromPath(const char *OriginalPath, char *FileNameOnly)
{
uint32 i, j;
int StringLength;
Expand Down
2 changes: 1 addition & 1 deletion modules/msg/fsw/src/cfe_msg_init.c
Original file line number Diff line number Diff line change
Expand Up @@ -34,7 +34,7 @@
* See description in header file for argument/return detail
*
*-----------------------------------------------------------------*/
int32 CFE_MSG_Init(CFE_MSG_Message_t *MsgPtr, CFE_SB_MsgId_t MsgId, CFE_MSG_Size_t Size)
CFE_Status_t CFE_MSG_Init(CFE_MSG_Message_t *MsgPtr, CFE_SB_MsgId_t MsgId, CFE_MSG_Size_t Size)
{

int32 status;
Expand Down
Loading

0 comments on commit 3d61d9d

Please sign in to comment.