]> git.ipfire.org Git - thirdparty/util-linux.git/commit
md5: declare byteReverse as static
authorLuca Ceresoli <luca@lucaceresoli.net>
Tue, 7 Nov 2017 13:39:09 +0000 (14:39 +0100)
committerKarel Zak <kzak@redhat.com>
Wed, 8 Nov 2017 10:49:59 +0000 (11:49 +0100)
commit424cee0f06ece9473786c189ab4741e1dea7061d
tree45c3ef58758103fec8e582149a0a380b89cd4fac
parente2017da5cf282da94cc0a9ce9c88067ee9a565c1
md5: declare byteReverse as static

byteReverse() is an internal function in md5.c, and is not exposed via
any header file, but it is not declared as static. This is a problem
with the md5.c file since it is copied more or less verbatim in other
programs (fontconfig and pjsip among others), causing a link error
when linking two of them together.

Fixes link failures such as:
  http://autobuild.buildroot.net/results/419ab2c0e034cc68991281c51caa8271b0fadbab/build-end.log

Signed-off-by: Luca Ceresoli <luca@lucaceresoli.net>
lib/md5.c