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_duplicate.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 'libkeccak_state_duplicate.c')
-rw-r--r-- | libkeccak_state_duplicate.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/libkeccak_state_duplicate.c b/libkeccak_state_duplicate.c index ab21c20..75f85da 100644 --- a/libkeccak_state_duplicate.c +++ b/libkeccak_state_duplicate.c @@ -9,9 +9,9 @@ * @return The duplicate, `NULL` on error */ struct libkeccak_state * -libkeccak_state_duplicate(const struct libkeccak_state *restrict src) +libkeccak_state_duplicate(const struct libkeccak_state *src) { - struct libkeccak_state *restrict dest = malloc(sizeof(struct libkeccak_state)); + struct libkeccak_state *dest = malloc(sizeof(struct libkeccak_state)); if (!dest || libkeccak_state_copy(dest, src)) { libkeccak_state_free(dest); return NULL; |