Skip to content

C library: declare malloc#3296

Merged
celinval merged 2 commits into
model-checking:mainfrom
tautschnig:declare-malloc
Jun 27, 2024
Merged

C library: declare malloc#3296
celinval merged 2 commits into
model-checking:mainfrom
tautschnig:declare-malloc

Conversation

@tautschnig

Copy link
Copy Markdown
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-EndToEndBenchCI 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
@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-EndToEndBenchCI Tag a PR to run benchmark CI

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants