diff options
author | Rich Felker <dalias@aerifal.cx> | 2013-10-05 12:00:55 -0400 |
---|---|---|
committer | Rich Felker <dalias@aerifal.cx> | 2013-10-05 12:00:55 -0400 |
commit | 8acbe4f81862147af73c05ebb770e2ab4ef5375b (patch) | |
tree | 6cea7c531f3f0f773d0358a1a98caaf159c35f9e /src/malloc/calloc.c | |
parent | a947d317a2769d90bdb19aa11942b7a0680051d5 (diff) | |
download | musl-8acbe4f81862147af73c05ebb770e2ab4ef5375b.tar.gz musl-8acbe4f81862147af73c05ebb770e2ab4ef5375b.tar.xz musl-8acbe4f81862147af73c05ebb770e2ab4ef5375b.zip |
slightly optimize __brk for size
there is no reason to check the return value for setting errno, since brk never returns errors, only the new value of the brk (which may be the same as the old, or otherwise differ from the requested brk, on failure). it may be beneficial to eventually just eliminate this file and make the syscalls inline in malloc.c.
Diffstat (limited to 'src/malloc/calloc.c')
0 files changed, 0 insertions, 0 deletions