summary | shortlog | log | commit | commitdiff | tree
raw | patch | inline | side by side (parent: be87504)
raw | patch | inline | side by side (parent: be87504)
author | Florian Forster <octo@collectd.org> | |
Wed, 17 May 2017 09:31:25 +0000 (11:31 +0200) | ||
committer | Florian Forster <octo@collectd.org> | |
Wed, 17 May 2017 09:31:48 +0000 (11:31 +0200) |
src/snmp_agent.c | patch | blob | history |
diff --git a/src/snmp_agent.c b/src/snmp_agent.c
index 89718bd0335031eebeaf3274c05fcb924365cf73..6cbe881a040c230137958637692881c463d430c5 100644 (file)
--- a/src/snmp_agent.c
+++ b/src/snmp_agent.c
};
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) && \