aboutsummaryrefslogtreecommitdiffstats
path: root/libkeccak_state_create.c
diff options
context:
space:
mode:
Diffstat (limited to 'libkeccak_state_create.c')
-rw-r--r--libkeccak_state_create.c4
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;