From 3547923d8653d72fe8a6a305107ed2e5dca6577c Mon Sep 17 00:00:00 2001 From: Mattias Andrée Date: Mon, 11 Feb 2019 16:57:26 +0100 Subject: Deprecate typedefs MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Signed-off-by: Mattias Andrée --- libkeccak_state_copy.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'libkeccak_state_copy.c') diff --git a/libkeccak_state_copy.c b/libkeccak_state_copy.c index 76672d2..97a76ef 100644 --- a/libkeccak_state_copy.c +++ b/libkeccak_state_copy.c @@ -10,9 +10,9 @@ * @return Zero on success, -1 on error */ int -libkeccak_state_copy(libkeccak_state_t *restrict dest, const libkeccak_state_t *restrict src) +libkeccak_state_copy(struct libkeccak_state *restrict dest, const struct libkeccak_state *restrict src) { - memcpy(dest, src, sizeof(libkeccak_state_t)); + memcpy(dest, src, sizeof(struct libkeccak_state)); dest->M = malloc(src->mlen * sizeof(char)); if (!dest->M) return -1; -- cgit v1.2.3-70-g09d2