diff options
author | Mattias Andrée <maandree@kth.se> | 2022-02-26 12:02:53 +0100 |
---|---|---|
committer | Mattias Andrée <maandree@kth.se> | 2022-02-26 12:02:53 +0100 |
commit | 5d36b9c7ed3c5790060731bb43b5ce74e04d856d (patch) | |
tree | cc7218b850253b996fa5e87cb191b348cf53309e /libkeccak_state_create.c | |
parent | Merge pull request #18 from oyheskes/remove-unused-variables (diff) | |
download | libkeccak-5d36b9c7ed3c5790060731bb43b5ce74e04d856d.tar.gz libkeccak-5d36b9c7ed3c5790060731bb43b5ce74e04d856d.tar.bz2 libkeccak-5d36b9c7ed3c5790060731bb43b5ce74e04d856d.tar.xz |
Remove useless restricts
Signed-off-by: Mattias Andrée <maandree@kth.se>
Diffstat (limited to '')
-rw-r--r-- | libkeccak_state_create.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/libkeccak_state_create.c b/libkeccak_state_create.c index a9ebc84..b5a6990 100644 --- a/libkeccak_state_create.c +++ b/libkeccak_state_create.c @@ -9,9 +9,9 @@ * @return The state, `NULL` on error */ struct libkeccak_state * -libkeccak_state_create(const struct libkeccak_spec *restrict spec) +libkeccak_state_create(const struct libkeccak_spec *spec) { - struct libkeccak_state *restrict state = malloc(sizeof(struct libkeccak_state)); + struct libkeccak_state *state = malloc(sizeof(struct libkeccak_state)); if (!state || libkeccak_state_initialise(state, spec)) { free(state); return NULL; |