util/sha1: harmonize _mesa_sha1_* wrappers
authorGrazvydas Ignotas <notasas@gmail.com>
Tue, 21 Mar 2017 23:43:34 +0000 (01:43 +0200)
committerEmil Velikov <emil.l.velikov@gmail.com>
Wed, 22 Mar 2017 11:33:51 +0000 (11:33 +0000)
commit10d3702a3647842e66433d8b51557cba8b01e7e1
treea943c233a85d5dd06824d0fa566e95a9213400fe
parent64b9a37c3ba61e5822ef84d455422a1dea8fbf39
util/sha1: harmonize _mesa_sha1_* wrappers

Rather than using 3 different ways to wrap _mesa_sha1_*() to SHA1*()
functions (a macro, prototype with implementation in .c and an inline
function), make all 3 inline functions.

Signed-off-by: Grazvydas Ignotas <notasas@gmail.com>
Reviewed-by: Nicolai Hähnle <nicolai.haehnle@amd.com>
Reviewed-by: Emil Velikov <emil.velikov@collabora.com>
src/util/mesa-sha1.c
src/util/mesa-sha1.h