summaryrefslogtreecommitdiff
path: root/include/linux
diff options
context:
space:
mode:
authorRasmus Villemoes <[email protected]>2025-09-19 12:09:54 +0200
committerTom Rini <[email protected]>2025-09-26 11:55:13 -0600
commite54bf98c3afc6dc6e6ce9496c217cb1c660aac4d (patch)
treed47b8c3bf00a50ff63a3a3a67391051a3bde2e69 /include/linux
parentecced05f679e1920ffd3e1bd57334bd6442194c4 (diff)
malloc.h: be a bit more consistent with macro definitions
Currrently, malloc and free are function-like macros, while calloc, realloc and memalign are object-like macros. Usually, this doesn't matter, but it does when the identifiers appear without a following open parenthesis, such as when their address is taken for building the export table. Adding calloc or realloc to that table breaks the build on sandbox due to this inconsistency. Signed-off-by: Rasmus Villemoes <[email protected]> Reviewed-by: Tom Rini <[email protected]>
Diffstat (limited to 'include/linux')
0 files changed, 0 insertions, 0 deletions