]> 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>
Thu, 14 Dec 2017 14:29:22 +0000 (15:29 +0100)
commit658e03b2944131e7d857087e96e3ce4d0a8640ec
tree3aba6aa2fbbfbb279f7023370af18b77a462df65
parent478b9027605345085619b725ac77dce12f41fb0e
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