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 incomplete function prototype. #1

Merged
merged 1 commit into from
Apr 25, 2023
Merged

Conversation

bsdjhb
Copy link
Member

@bsdjhb bsdjhb commented Apr 24, 2023

The proper prototype is present in <stdlib.h>.

The proper prototype is present in <stdlib.h>.
@bsdjhb bsdjhb requested a review from bsdimp April 24, 2023 21:10
@bsdjhb
Copy link
Member Author

bsdjhb commented Apr 24, 2023

This fixes the build once -Wdeprecated-non-prototype is re-enabled via https://reviews.freebsd.org/D39535.

@bsdimp
Copy link
Member

bsdimp commented Apr 25, 2023

Looks good to me. I can't imagine that breaking things on anything after FreeBSD 2 or 3 or so...

@bsdimp bsdimp merged commit 5b03b48 into freebsd:master Apr 25, 2023
@bsdjhb bsdjhb deleted the warns branch April 25, 2023 20:58
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.

2 participants