aboutsummaryrefslogtreecommitdiffstats
path: root/libkeccak-legacy.h
diff options
context:
space:
mode:
authorMattias Andrée <maandree@kth.se>2022-02-26 12:02:53 +0100
committerMattias Andrée <maandree@kth.se>2022-02-26 12:02:53 +0100
commit5d36b9c7ed3c5790060731bb43b5ce74e04d856d (patch)
treecc7218b850253b996fa5e87cb191b348cf53309e /libkeccak-legacy.h
parentMerge pull request #18 from oyheskes/remove-unused-variables (diff)
downloadlibkeccak-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-legacy.h')
-rw-r--r--libkeccak-legacy.h8
1 files changed, 4 insertions, 4 deletions
diff --git a/libkeccak-legacy.h b/libkeccak-legacy.h
index 3579b5e..3516053 100644
--- a/libkeccak-legacy.h
+++ b/libkeccak-legacy.h
@@ -15,28 +15,28 @@ typedef struct libkeccak_hmac_state libkeccak_hmac_state_t;
LIBKECCAK_GCC_ONLY(__attribute__((__deprecated__("Use libkeccak_hmac_unmarshal(NULL, data) instead of libkeccak_hmac_unmarshal_skip(data)"))))
static inline size_t
-libkeccak_hmac_unmarshal_skip(const void *restrict data)
+libkeccak_hmac_unmarshal_skip(const void *data)
{
return libkeccak_hmac_unmarshal(NULL, data);
}
LIBKECCAK_GCC_ONLY(__attribute__((__deprecated__("Use libkeccak_state_unmarshal(NULL, data) instead of libkeccak_state_unmarshal_skip(data)"))))
static inline size_t
-libkeccak_state_unmarshal_skip(const void *restrict data)
+libkeccak_state_unmarshal_skip(const void *data)
{
return libkeccak_state_unmarshal(NULL, data);
}
LIBKECCAK_GCC_ONLY(__attribute__((__deprecated__("Use libkeccak_hmac_marshal(state, NULL) instead of libkeccak_hmac_marshal_size(state)"))))
static inline size_t
-libkeccak_hmac_marshal_size(const struct libkeccak_hmac_state *restrict state)
+libkeccak_hmac_marshal_size(const struct libkeccak_hmac_state *state)
{
return libkeccak_hmac_marshal(state, NULL);
}
LIBKECCAK_GCC_ONLY(__attribute__((__deprecated__("Use libkeccak_state_marshal(state, NULL) instead of libkeccak_state_marshal_size(state)"))))
static inline size_t
-libkeccak_state_marshal_size(const struct libkeccak_state *restrict state)
+libkeccak_state_marshal_size(const struct libkeccak_state *state)
{
return libkeccak_state_marshal(state, NULL);
}