diff options
author | Jeff King <peff@peff.net> | 2014-01-23 16:23:09 -0500 |
---|---|---|
committer | Junio C Hamano <gitster@pobox.com> | 2014-01-23 14:03:21 -0800 |
commit | 802b123366b5b3b6e18ee9e25a240815d1c97aae (patch) | |
tree | e0f885c82a00ed16d40987cca97bddac9b02881a /pack.h | |
parent | 1a6d8b91489ad4a7b7d267b46a3e838b004157f1 (diff) | |
download | git-802b123366b5b3b6e18ee9e25a240815d1c97aae.tar.gz git-802b123366b5b3b6e18ee9e25a240815d1c97aae.tar.xz |
block-sha1: factor out get_be and put_be wrappers
The BLK_SHA1 code has optimized wrappers for doing endian
conversions on memory that may not be aligned. Let's pull
them out so that we can use them elsewhere, especially the
time-tested list of platforms that prefer each strategy.
Signed-off-by: Jeff King <peff@peff.net>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
Diffstat (limited to 'pack.h')
0 files changed, 0 insertions, 0 deletions