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 K&R function definitions without prototypes #779

Closed
wants to merge 1 commit into from

Conversation

Peter-Levine
Copy link

@Peter-Levine Peter-Levine commented Feb 15, 2023

With clang-16, -Wdeprecated-non-prototype is set by default and such constructs are errors with -std=c23. This PR updates all affected functions.

Fixes #633

@floppym
Copy link

floppym commented Apr 17, 2023

@madler Pushed a similar change to the develop branch yesterday.

@Neustradamus
Copy link

Neustradamus commented Jan 23, 2024

Merged commits about K&R removal:

@Peter-Levine Peter-Levine deleted the clang-16 branch January 31, 2024 04:29
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Functions without prorotypes cause -Wstrict-prototypes warnings
3 participants