From 167374426971b7d1f04651866caf11d8192fa61b Mon Sep 17 00:00:00 2001 From: voetsjoeba Date: Sun, 15 Jan 2017 17:19:03 +0100 Subject: [PATCH] nc_stats.h: Fix implicit stats_* function declarations when building with --disable-stats --- src/nc_stats.h | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/src/nc_stats.h b/src/nc_stats.h index 4a40a83c..b0f7bdfc 100644 --- a/src/nc_stats.h +++ b/src/nc_stats.h @@ -182,6 +182,8 @@ typedef enum stats_server_field { #define stats_pool_decr_by(_ctx, _pool, _name, _val) +#define stats_pool_set_ts(_ctx, _pool, _name, _val) + #define stats_server_incr(_ctx, _server, _name) #define stats_server_decr(_ctx, _server, _name) @@ -190,6 +192,8 @@ typedef enum stats_server_field { #define stats_server_decr_by(_ctx, _server, _name, _val) +#define stats_server_set_ts(_ctx, _server, _name, val) + #endif #define stats_enabled NC_STATS