diff options
Diffstat (limited to 'algorithm_output_size.c')
-rw-r--r-- | algorithm_output_size.c | 12 |
1 files changed, 1 insertions, 11 deletions
diff --git a/algorithm_output_size.c b/algorithm_output_size.c index ffba6d8..c91c23d 100644 --- a/algorithm_output_size.c +++ b/algorithm_output_size.c @@ -8,14 +8,4 @@ * @param algorithm The hashing algorithm * @return The number of bytes in the output, zero on error */ -size_t -libsha1_algorithm_output_size(enum libsha1_algorithm algorithm) -{ - switch (algorithm) { - case LIBSHA1_0: return 20; - case LIBSHA1_1: return 20; - default: - errno = EINVAL; - return 0; - } -} +extern inline size_t libsha1_algorithm_output_size(enum libsha1_algorithm); |