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

Use strict C prototypes #137

Closed
eyalroz opened this issue Jun 29, 2022 · 1 comment
Closed

Use strict C prototypes #137

eyalroz opened this issue Jun 29, 2022 · 1 comment
Labels
resolved-on-develop A changeset fixing this issue has been commiutted to the development branch task

Comments

@eyalroz
Copy link
Owner

eyalroz commented Jun 29, 2022

Some of our function declarations use

return_type func_name()

rather than

return_type func_name(void)

... and the compiler may complain about this if stricter checking is enabled.

@eyalroz
Copy link
Owner Author

eyalroz commented Jun 29, 2022

See #136 .

@eyalroz eyalroz added the task label Jun 29, 2022
eyalroz added a commit that referenced this issue Jun 29, 2022
* Now using `func_name(void)` instead of `func_name()` in declarations, wherever relevant
* Now checking for strict prototypes when compiling C test programs
@eyalroz eyalroz added the resolved-on-develop A changeset fixing this issue has been commiutted to the development branch label Jun 29, 2022
eyalroz added a commit that referenced this issue Oct 17, 2022
* Now using `func_name(void)` instead of `func_name()` in declarations, wherever relevant
* Now checking for strict prototypes when compiling C test programs
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
resolved-on-develop A changeset fixing this issue has been commiutted to the development branch task
Projects
None yet
Development

No branches or pull requests

1 participant