From 1634cdf408671dc430d2860bc98acd1d8a3f84e6 Mon Sep 17 00:00:00 2001 From: Florian Forster Date: Wed, 17 May 2017 11:31:25 +0200 Subject: [PATCH] snmp_agent plugin: Don't export the g_agent variable. --- src/snmp_agent.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/snmp_agent.c b/src/snmp_agent.c index 89718bd0..6cbe881a 100644 --- a/src/snmp_agent.c +++ b/src/snmp_agent.c @@ -90,7 +90,7 @@ struct snmp_agent_ctx_s { }; typedef struct snmp_agent_ctx_s snmp_agent_ctx_t; -snmp_agent_ctx_t *g_agent = NULL; +static snmp_agent_ctx_t *g_agent = NULL; #define CHECK_DD_TYPE(_dd, _p, _pi, _t, _ti) \ (_dd->plugin ? !strcmp(_dd->plugin, _p) : 0) && \ -- 2.30.2