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

C99 compatibility fixes #82

Merged

Conversation

gruenich
Copy link
Contributor

@gruenich gruenich commented Apr 7, 2023

Improving the merge request from @fweimer-rh.

Supersedes #76

fweimer-rh and others added 5 commits April 7, 2023 09:54
This avoids build failures with future compilers which do not support
implicit function declarations.
As a result, the function input_error is declared.  This avoids
a build failure with future compilers which do not support implicit
function declarations.
This avoids build failures with future compilers which do not
support implicit ints.
Having getopt() in unistd.h is a GNU extension, with -std=c99
or c11 the user is warned about its implicit declaration.
@gruenich
Copy link
Contributor Author

gruenich commented Apr 7, 2023

@xiaoyeli Do you mind merging this instead of #76?

@xiaoyeli xiaoyeli merged commit 42a3cb7 into xiaoyeli:master Apr 7, 2023
@xiaoyeli xiaoyeli mentioned this pull request Apr 7, 2023
@gruenich gruenich deleted the feature/c99-compatibility-fweimer-rh branch June 5, 2023 20:24
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.

3 participants