-
Notifications
You must be signed in to change notification settings - Fork 20
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Fix #89, Convert int32
return codes and variables to CFE_Status_t
#90
Fix #89, Convert int32
return codes and variables to CFE_Status_t
#90
Conversation
@@ -421,10 +421,10 @@ | |||
/* */ | |||
/* * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * */ | |||
|
|||
int32 SC_GetDumpTablePointers(void) | |||
CFE_Status_t SC_GetDumpTablePointers(void) |
Check notice
Code scanning / CodeQL
Long function without assertion
@@ -368,11 +368,11 @@ | |||
return (CFE_SUCCESS); | |||
} | |||
|
|||
int32 SC_RegisterLoadableTables(void) | |||
CFE_Status_t SC_RegisterLoadableTables(void) |
Check notice
Code scanning / CodeQL
Long function without assertion
@@ -232,11 +232,11 @@ | |||
/* */ | |||
/* * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * */ | |||
|
|||
int32 SC_InitTables(void) | |||
CFE_Status_t SC_InitTables(void) |
Check notice
Code scanning / CodeQL
Long function without assertion
@@ -136,9 +136,9 @@ | |||
/* */ | |||
/* * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * */ | |||
|
|||
int32 SC_AppInit(void) | |||
CFE_Status_t SC_AppInit(void) |
Check notice
Code scanning / CodeQL
Function too long
@@ -466,10 +466,10 @@ | |||
/* */ | |||
/* * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * */ | |||
|
|||
int32 SC_GetLoadTablePointers(void) | |||
CFE_Status_t SC_GetLoadTablePointers(void) |
Check notice
Code scanning / CodeQL
Long function without assertion
@@ -320,11 +320,11 @@ | |||
return (CFE_SUCCESS); | |||
} | |||
|
|||
int32 SC_RegisterDumpOnlyTables(void) | |||
CFE_Status_t SC_RegisterDumpOnlyTables(void) |
Check notice
Code scanning / CodeQL
Long function without assertion
@@ -301,9 +301,9 @@ | |||
/* */ | |||
/* * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * */ | |||
|
|||
int32 SC_RegisterAllTables(void) | |||
CFE_Status_t SC_RegisterAllTables(void) |
Check notice
Code scanning / CodeQL
Long function without assertion
@@ -136,9 +136,9 @@ | |||
/* */ | |||
/* * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * */ | |||
|
|||
int32 SC_AppInit(void) | |||
CFE_Status_t SC_AppInit(void) |
Check notice
Code scanning / CodeQL
Long function without assertion
@@ -232,11 +232,11 @@ | |||
/* */ | |||
/* * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * */ | |||
|
|||
int32 SC_InitTables(void) | |||
CFE_Status_t SC_InitTables(void) |
Check notice
Code scanning / CodeQL
Function too long
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Looks good to me!
Checklist
Describe the contribution
int32
return codes and variables should be converted toCFE_Status_t
#89int32
return codes converted over toCFE_Status_t
int32
status
/return
variables holding cFE return codes converted toCFE_Status_t
Testing performed
GitHub CI actions all passing successfully.
Expected behavior changes
No change to behavior.
CFE_Status_t
is more expressive and improves consistency with cFE/cFS.Contributor Info
Avi Weiss @thnkslprpt