]> git.ipfire.org Git - thirdparty/ipxe.git/commit
[libc] Fix and externalise memswap()
authorMichael Brown <mcb30@ipxe.org>
Mon, 5 Nov 2012 00:58:20 +0000 (00:58 +0000)
committerMichael Brown <mcb30@ipxe.org>
Mon, 12 Nov 2012 16:58:49 +0000 (16:58 +0000)
commit53f3deee06366dacd38974af7beb89aa7ce6c45e
treee91e14fffd8eb7b9a379fc5207c7cd9bd3a87c0d
parentde20c526e68f7ec1155cdb7dcaeb2ff4c8c2c580
[libc] Fix and externalise memswap()

Make memswap() behave correctly if called with a length of zero.

Signed-off-by: Michael Brown <mcb30@ipxe.org>
src/arch/x86/core/x86_string.c
src/arch/x86/include/bits/string.h