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

Unconditionally remove <stdlib.h> include in (e)cl ytab.c #302

Merged
merged 1 commit into from May 15, 2023

Conversation

olebole
Copy link
Member

@olebole olebole commented May 13, 2023

The definitions here contradict with the local definitions in IRAF's libc. For example, atof() is double atof(const char*) in stdio.h, but double atof(char *) in iraf_libc.h.

In any case we should make sure that we use the correct declarations. That was already set for 32-bit Linux, but it is useful for all platforms.

The definitions here contradict with the local definitions in IRAF's
libc.  For example, atof is "double atof(const char*)" in stdio.h, but
"double atof(char *)" in libc.h.

In any case we should make sure that we use the correct declarations.
@olebole olebole merged commit 094b1cd into iraf-community:main May 15, 2023
3 checks passed
olebole added a commit that referenced this pull request Jun 1, 2023
Unconditionally remove <stdlib.h> include in (e)cl ytab.c
@olebole olebole deleted the remove-stdlib-cl branch July 14, 2023 06:57
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Development

Successfully merging this pull request may close these issues.

None yet

1 participant