summaryrefslogtreecommitdiffstats
path: root/src/fastd.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/fastd.h')
-rw-r--r--src/fastd.h2
1 files changed, 1 insertions, 1 deletions
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++;