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

Remove extern from function prototypes #1319

Closed
skliper opened this issue Apr 13, 2021 · 4 comments · Fixed by #1908
Closed

Remove extern from function prototypes #1319

skliper opened this issue Apr 13, 2021 · 4 comments · Fixed by #1908

Comments

@skliper
Copy link
Contributor

skliper commented Apr 13, 2021

Is your feature request related to a problem? Please describe.
Inconsistently applying extern to function prototypes

Describe the solution you'd like
Remove, it makes no difference.

Describe alternatives you've considered
None

Additional context
None

Requester Info
Jacob Hageman - NASA/GSFC

@himanshu007-creator
Copy link
Contributor

I would like to work on this issue. Please guide me further

@paulober
Copy link
Contributor

@skliper

I have removed all extern from all function prototypes in the project. Could this cause unforeseen problems (in conjunction with the cFS)?

@skliper
Copy link
Contributor Author

skliper commented Aug 30, 2021

Not for the function prototypes, declaring as extern has no impact since it's the default. https://stackoverflow.com/questions/27447285/extern-on-function-prototypes. Thanks for the contribution!

@paulober
Copy link
Contributor

Ok, great to know.

@astrogeco astrogeco added this to the cFS-Draco milestone Aug 30, 2021
astrogeco added a commit to astrogeco/cFE that referenced this issue Nov 3, 2021
…unction-protos

Fix nasa#1319, Remove extern from function prototypes
astrogeco pushed a commit to astrogeco/cFE that referenced this issue Nov 3, 2021
Co-authored by: Gerardo E. Cruz-Ortiz <59618057+astrogeco@users.noreply.github.com>
astrogeco added a commit to astrogeco/cFE that referenced this issue Nov 3, 2021
…unction-protos

Fix nasa#1319, Remove extern from function prototypes

Re-adds externs removed from CFE_ES_ObjectTable and CFE_ES_Global to
fix RTEMS build
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging a pull request may close this issue.

4 participants