sha256/gcrypt: fix build with SANITIZE=leak
commitb4b85e41a74eaf61dfb490004541622e63df092b
authorEric Wong <e@80x24.org>
Mon, 31 Jul 2023 12:08:06 +0000 (31 12:08 +0000)
committerJunio C Hamano <gitster@pobox.com>
Mon, 31 Jul 2023 15:56:54 +0000 (31 08:56 -0700)
treee54441ad3a70a5c16c197aa997854dce3c26b88e
parentfb7d80edcae482f4fa5d4be0227dc3054734e5f3
sha256/gcrypt: fix build with SANITIZE=leak

Non-static functions cause `undefined reference' errors when
building with `SANITIZE=leak' due to the lack of prototypes.
Mark all these functions as `static inline' as we do in
sha256/nettle.h to avoid the need to maintain prototypes.

Signed-off-by: Eric Wong <e@80x24.org>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
sha256/gcrypt.h