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

Is "stdio.h" necessary? #159

Closed
Toliak opened this issue Nov 14, 2022 · 1 comment
Closed

Is "stdio.h" necessary? #159

Toliak opened this issue Nov 14, 2022 · 1 comment

Comments

@Toliak
Copy link
Contributor

Toliak commented Nov 14, 2022

There is (https://github.com/srdja/Collections-C/blob/master/src/include/cc_ring_buffer.h#L13) the line #include <stdio.h>.
I haven't found any printf/scanf in the code.
Also tried to remove this line and the code compiled correctly, therefore, I think it is unnecessary.

@srdja
Copy link
Owner

srdja commented Nov 15, 2022

Yeah, definitely shouldn't be there. I guess it's a leftover from printf debugging.

@srdja srdja closed this as completed in 36185a4 Dec 28, 2022
srdja pushed a commit that referenced this issue Dec 28, 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

No branches or pull requests

2 participants