summaryrefslogtreecommitdiffstats
path: root/src/peer.h
diff options
context:
space:
mode:
authorMatthias Schiffer <mschiffer@universe-factory.net>2014-09-06 01:33:26 +0200
committerMatthias Schiffer <mschiffer@universe-factory.net>2014-09-06 01:33:26 +0200
commit58b8518100c8b306d5b6a3d87b4a83a1ae383a09 (patch)
tree698accb30882c4e9bfb39bf0568a4dee691b7f0a /src/peer.h
parent1e540bed623cb6080f1aa2b6afd39600ed25a8dd (diff)
downloadfastd-58b8518100c8b306d5b6a3d87b4a83a1ae383a09.tar
fastd-58b8518100c8b306d5b6a3d87b4a83a1ae383a09.zip
Move UNUSED attribute to the start of arguments to help editors understand the syntax
Diffstat (limited to 'src/peer.h')
-rw-r--r--src/peer.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/peer.h b/src/peer.h
index 51e6ffa..ba97d2b 100644
--- a/src/peer.h
+++ b/src/peer.h
@@ -210,7 +210,7 @@ static inline bool fastd_peer_is_floating(const fastd_peer_t *peer) {
}
/** Checks if a peer is not statically configured, but added after a on-verify run */
-static inline bool fastd_peer_is_dynamic(const fastd_peer_t *peer UNUSED) {
+static inline bool fastd_peer_is_dynamic(UNUSED const fastd_peer_t *peer) {
#ifdef WITH_DYNAMIC_PEERS
return peer->config_state == CONFIG_DYNAMIC;
#else