aboutsummaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-rw-r--r--src/libkeccak/state.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/libkeccak/state.h b/src/libkeccak/state.h
index 54e1c6a..5abbb5a 100644
--- a/src/libkeccak/state.h
+++ b/src/libkeccak/state.h
@@ -264,7 +264,7 @@ size_t libkeccak_state_unmarshal(libkeccak_state_t* restrict state, const char*
* @param data The data buffer
* @return The byte size of the stored state
*/
-__attribute__((leaf, nonnull, nothrow, pure))
+__attribute__((leaf, nonnull, nothrow, warn_unused_result, pure))
size_t libkeccak_state_unmarshal_skip(const char* restrict data);