diff options
author | Mattias Andrée <maandree@kth.se> | 2021-07-30 18:57:28 +0200 |
---|---|---|
committer | Mattias Andrée <maandree@kth.se> | 2021-07-30 18:57:28 +0200 |
commit | 024ddbc9c48427a4e98d9258f6aa5b83205d0c62 (patch) | |
tree | ac2fffe38c3534f38f9303954e8bf95cc8916528 /libkeccak_degeneralise_spec.c | |
parent | Merge pull request #14 from alebcay/macos-alloca (diff) | |
download | libkeccak-024ddbc9c48427a4e98d9258f6aa5b83205d0c62.tar.gz libkeccak-024ddbc9c48427a4e98d9258f6aa5b83205d0c62.tar.bz2 libkeccak-024ddbc9c48427a4e98d9258f6aa5b83205d0c62.tar.xz |
Use inline instead of static inline for non-deprecated functions
Signed-off-by: Mattias Andrée <maandree@kth.se>
Diffstat (limited to 'libkeccak_degeneralise_spec.c')
-rw-r--r-- | libkeccak_degeneralise_spec.c | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/libkeccak_degeneralise_spec.c b/libkeccak_degeneralise_spec.c index d2c4ea5..d92fa61 100644 --- a/libkeccak_degeneralise_spec.c +++ b/libkeccak_degeneralise_spec.c @@ -24,8 +24,7 @@ * @return Zero if `spec` is valid, a `LIBKECCAK_GENERALISED_SPEC_ERROR_*` if an error was found */ int -libkeccak_degeneralise_spec(struct libkeccak_generalised_spec *restrict spec, - struct libkeccak_spec *restrict output_spec) +libkeccak_degeneralise_spec(struct libkeccak_generalised_spec *restrict spec, struct libkeccak_spec *restrict output_spec) { long int state_size, word_size, capacity, bitrate, output; const int have_state_size = spec->state_size != LIBKECCAK_GENERALISED_SPEC_AUTOMATIC; |