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

Don't redefine errno(3) #615

Merged
merged 1 commit into from
Dec 22, 2022
Merged

Conversation

alejandro-colomar
Copy link
Collaborator

It is Undefined Behavior to declare errno (see NOTES in its manual page). Instead of using the errno dummy declaration, use one that doesn't need a comment.

Signed-off-by: Alejandro Colomar alx@kernel.org

It is Undefined Behavior to declare errno (see NOTES in its manual page).
Instead of using the errno dummy declaration, use one that doesn't need
a comment.

Signed-off-by: Alejandro Colomar <alx@kernel.org>
@ikerexxe
Copy link
Collaborator

Is this part of some additional work? Or can I merge it as it is?

@alejandro-colomar
Copy link
Collaborator Author

No, this is all; you can merge it.
I'm trying to be consistent in the use of draft pull requests until they're ready.

@ikerexxe ikerexxe merged commit e2df287 into shadow-maint:master Dec 22, 2022
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.

None yet

2 participants