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

C library: declare malloc #3296

Merged
merged 2 commits into from
Jun 27, 2024
Merged

Conversation

tautschnig
Copy link
Member

In #1812 we removed standard library includes and instead provided forward declarations of free, calloc, and memcpy -- but seemingly forgot to include malloc, which we also use.

This avoids a warning seen when dialling up goto-cc verbosity.

By submitting this pull request, I confirm that my contribution is made under the terms of the Apache 2.0 and MIT licenses.

In model-checking#1812 we removed standard library includes and instead provided
forward declarations of `free`, `calloc`, and `memcpy` -- but seemingly
forgot to include `malloc`, which we also use.

This avoids a warning seen when dialling up `goto-cc` verbosity.
@tautschnig tautschnig requested a review from a team as a code owner June 27, 2024 09:29
@github-actions github-actions bot added the Z-BenchCI Tag a PR to run benchmark CI label Jun 27, 2024
@celinval celinval enabled auto-merge (squash) June 27, 2024 18:36
@celinval celinval merged commit 3adb262 into model-checking:main Jun 27, 2024
25 checks passed
@tautschnig tautschnig deleted the declare-malloc branch June 27, 2024 19:45
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Z-BenchCI Tag a PR to run benchmark CI
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants