diff options
author | Matthias Schiffer <mschiffer@universe-factory.net> | 2014-09-06 01:33:26 +0200 |
---|---|---|
committer | Matthias Schiffer <mschiffer@universe-factory.net> | 2014-09-06 01:33:26 +0200 |
commit | 58b8518100c8b306d5b6a3d87b4a83a1ae383a09 (patch) | |
tree | 698accb30882c4e9bfb39bf0568a4dee691b7f0a /src/methods/generic_umac | |
parent | 1e540bed623cb6080f1aa2b6afd39600ed25a8dd (diff) | |
download | fastd-58b8518100c8b306d5b6a3d87b4a83a1ae383a09.tar fastd-58b8518100c8b306d5b6a3d87b4a83a1ae383a09.zip |
Move UNUSED attribute to the start of arguments to help editors understand the syntax
Diffstat (limited to 'src/methods/generic_umac')
-rw-r--r-- | src/methods/generic_umac/generic_umac.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/methods/generic_umac/generic_umac.c b/src/methods/generic_umac/generic_umac.c index 167ee79..3355fdb 100644 --- a/src/methods/generic_umac/generic_umac.c +++ b/src/methods/generic_umac/generic_umac.c @@ -146,7 +146,7 @@ static void method_session_free(fastd_method_session_state_t *session) { } /** Encrypts and authenticates a packet */ -static bool method_encrypt(fastd_peer_t *peer UNUSED, fastd_method_session_state_t *session, fastd_buffer_t *out, fastd_buffer_t in) { +static bool method_encrypt(UNUSED fastd_peer_t *peer, fastd_method_session_state_t *session, fastd_buffer_t *out, fastd_buffer_t in) { size_t tail_len = in.len ? alignto(in.len, 2 * sizeof(fastd_block128_t))-in.len : (2 * sizeof(fastd_block128_t)); fastd_buffer_pull_head_zero(&in, sizeof(fastd_block128_t)); |