On Mon, Mar 13, 2017 at 6:52 PM, Emil Velikov <emil.l.veli...@gmail.com> wrote: > ... > diff --git a/src/util/mesa-sha1.h b/src/util/mesa-sha1.h > index f927d5772d..ecbc708b5e 100644 > --- a/src/util/mesa-sha1.h > +++ b/src/util/mesa-sha1.h > @@ -34,7 +34,7 @@ extern "C" { > > #define _mesa_sha1_init SHA1Init > > -int > +void > _mesa_sha1_update(struct mesa_sha1 *ctx, const void *data, int size);
This has become rather inconsistent, _mesa_sha1_init() is a macro to SHA1Init(), _mesa_sha1_update() is a prototype for a trivial implementation, and _mesa_sha1_final() is an inline function. Maybe make all 3 inlines instead, so the names appear in debug stack dumps? In either case: Reviewed-by: Grazvydas Ignotas <nota...@gmail.com> _______________________________________________ mesa-dev mailing list mesa-dev@lists.freedesktop.org https://lists.freedesktop.org/mailman/listinfo/mesa-dev