Re: [Mesa-dev] [PATCH] util/sha1: harmonize _mesa_sha1_* wrappers

2017-03-22 Thread Nicolai Hähnle
On 22.03.2017 12:40, Emil Velikov wrote: On 22 March 2017 at 10:57, Nicolai Hähnle wrote: On 22.03.2017 00:43, Grazvydas Ignotas wrote: 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 al

Re: [Mesa-dev] [PATCH] util/sha1: harmonize _mesa_sha1_* wrappers

2017-03-22 Thread Emil Velikov
On 22 March 2017 at 10:57, Nicolai Hähnle wrote: > On 22.03.2017 00:43, Grazvydas Ignotas wrote: >> >> 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. >> >> Sign

Re: [Mesa-dev] [PATCH] util/sha1: harmonize _mesa_sha1_* wrappers

2017-03-22 Thread Nicolai Hähnle
On 22.03.2017 00:43, Grazvydas Ignotas wrote: 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 Reviewed-by: Nicolai Hähnle I not

[Mesa-dev] [PATCH] util/sha1: harmonize _mesa_sha1_* wrappers

2017-03-21 Thread Grazvydas Ignotas
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 --- src/util/mesa-sha1.c | 6 -- src/util/mesa-sha1.h | 13 ++--- 2 fil