From c799f8fcf1210079a5f00fa944d8e8c59a37fc60 Mon Sep 17 00:00:00 2001 From: Mattias Andrée Date: Thu, 7 Jul 2022 14:05:03 +0200 Subject: Inline some output size functions MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Signed-off-by: Mattias Andrée --- hmac_state_output_size.c | 6 +----- 1 file changed, 1 insertion(+), 5 deletions(-) (limited to 'hmac_state_output_size.c') diff --git a/hmac_state_output_size.c b/hmac_state_output_size.c index 68e5ed2..71be1b2 100644 --- a/hmac_state_output_size.c +++ b/hmac_state_output_size.c @@ -8,8 +8,4 @@ * @param state The state * @return The number of bytes in the output, zero on error */ -size_t -libsha1_hmac_state_output_size(const struct libsha1_hmac_state *restrict state) -{ - return libsha1_algorithm_output_size(state->sha1_state.algorithm); -} +extern inline size_t libsha1_hmac_state_output_size(const struct libsha1_hmac_state *restrict); -- cgit v1.2.3-70-g09d2