Skip to content
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

API Prototype/implementation mismatch scrub #1474

Closed
skliper opened this issue May 3, 2021 · 0 comments · Fixed by #1551 or #1568
Closed

API Prototype/implementation mismatch scrub #1474

skliper opened this issue May 3, 2021 · 0 comments · Fixed by #1551 or #1568

Comments

@skliper
Copy link
Contributor

skliper commented May 3, 2021

Is your feature request related to a problem? Please describe.
Example from CFE_MSG_Init, CFE_Status_t vs int32:

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);

Note numerous others, some noted in TBL.

Describe the solution you'd like
General scrub, prototypes across all the headers should match implementation. Also could remove extern per #1319.

Describe alternatives you've considered
None

Additional context
Code review

Requester Info
Jacob Hageman - NASA/GSFC

@skliper skliper added this to the 7.0.0 milestone May 3, 2021
@skliper skliper added the CFS-43 label May 11, 2021
@skliper skliper changed the title CFE_MSG_Init prototype/implementation mismatch Prototype/implementation mismatch scrub May 11, 2021
skliper pushed a commit to skliper/cFE that referenced this issue May 19, 2021
Changing the implementation return types to CFE_Status_t
to match the function prototypes.
skliper pushed a commit to skliper/cFE that referenced this issue May 19, 2021
skliper pushed a commit to skliper/cFE that referenced this issue May 19, 2021
Changing the implementation return types to CFE_Status_t
to match the function prototypes.
skliper pushed a commit to skliper/cFE that referenced this issue May 19, 2021
skliper added a commit to skliper/cFE that referenced this issue May 19, 2021
@skliper skliper self-assigned this May 21, 2021
@skliper skliper changed the title Prototype/implementation mismatch scrub API Prototype/implementation mismatch scrub May 21, 2021
astrogeco added a commit that referenced this issue May 25, 2021
Fix #1474, #1552, Resolve API prototype/implementation discrepancies
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment