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

Make ModioC.h valid C code #81

Merged
merged 2 commits into from May 9, 2019

Conversation

Projects
None yet
2 participants
@morlad
Copy link
Contributor

commented May 8, 2019

Put C++'s extern "C" behind __cplusplus-guards and insert void into parameter list of functions taking no arguments (-Wstrict-prototype).
Also removes a meaningless const on a return type. (-Wignored-qualifiers)

@Turupawn

This comment has been minimized.

Copy link
Member

commented May 9, 2019

Great contribution @morlad ! Very helpful 😃 👍

@Turupawn Turupawn merged commit 77ea01e into modio:master May 9, 2019

1 check passed

continuous-integration/travis-ci/pr The Travis CI build passed
Details

@morlad morlad deleted the morlad:valid-c branch May 9, 2019

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
You can’t perform that action at this time.