From 58b8518100c8b306d5b6a3d87b4a83a1ae383a09 Mon Sep 17 00:00:00 2001 From: Matthias Schiffer Date: Sat, 6 Sep 2014 01:33:26 +0200 Subject: Move UNUSED attribute to the start of arguments to help editors understand the syntax --- src/fastd.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/fastd.h') diff --git a/src/fastd.h b/src/fastd.h index 464a7fd..a5737ba 100644 --- a/src/fastd.h +++ b/src/fastd.h @@ -382,7 +382,7 @@ static inline size_t fastd_max_payload(void) { } /** Adds statistics for a single packet of a given size */ -static inline void fastd_stats_add(fastd_stats_t *stats UNUSED, size_t stat_size UNUSED) { +static inline void fastd_stats_add(UNUSED fastd_stats_t *stats, UNUSED size_t stat_size) { #ifdef WITH_STATUS_SOCKET if (stat_size) { stats->packets++; -- cgit v1.2.3