diff options
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; |