summaryrefslogtreecommitdiff
path: root/compat/terminal.h
diff options
context:
space:
mode:
authorLibravatar René Scharfe <l.s.r@web.de>2017-07-15 21:22:50 +0200
committerLibravatar Junio C Hamano <gitster@pobox.com>2017-07-17 14:54:15 -0700
commit5b114f3bb0820c1f57fb4a9cd14b62b55aa30d31 (patch)
treed25d178ba9b7e81860f61dd656732ff13d96de7f /compat/terminal.h
parentbswap: convert to unsigned before shifting in get_be32 (diff)
downloadtgif-5b114f3bb0820c1f57fb4a9cd14b62b55aa30d31.tar.xz
bswap: convert get_be16, get_be32 and put_be32 to inline functions
Simplify the implementation and allow callers to use expressions with side-effects by turning the macros get_be16, get_be32 and put_be32 into inline functions. Signed-off-by: Rene Scharfe <l.s.r@web.de> Signed-off-by: Junio C Hamano <gitster@pobox.com>
Diffstat (limited to 'compat/terminal.h')
0 files changed, 0 insertions, 0 deletions