aboutsummaryrefslogtreecommitdiff
path: root/newlib/libc/stdlib/arc4random.c
diff options
context:
space:
mode:
authorTorbjörn SVENSSON <torbjorn.svensson@foss.st.com>2022-08-30 15:56:26 +0200
committerJeff Johnston <jjohnstn@redhat.com>2022-09-01 15:39:10 -0400
commita68e99f8839e4697790077c8a77b506d528cc674 (patch)
treebd0b3c881e63248a696a8a6749e8ebb6322433b8 /newlib/libc/stdlib/arc4random.c
parent0455ea28ce2bfa83ca36ec37b9c9fb00c54bbe54 (diff)
downloadnewlib-a68e99f8839e4697790077c8a77b506d528cc674.zip
newlib-a68e99f8839e4697790077c8a77b506d528cc674.tar.gz
newlib-a68e99f8839e4697790077c8a77b506d528cc674.tar.bz2
Don't allocate another header when merging chunks
In the nano version of malloc, when the last chunk is to be extended, there is no need to acount for the header again as it's already taken into account in the overall "alloc_size" at the beginning of the function. Contributed by STMicroelectronics Signed-off-by: Torbjörn SVENSSON <torbjorn.svensson@foss.st.com>
Diffstat (limited to 'newlib/libc/stdlib/arc4random.c')
0 files changed, 0 insertions, 0 deletions