summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--lib/agentx.c3
-rw-r--r--lib/resolver.c3
-rw-r--r--ospfclient/ospf_apiclient.c3
3 files changed, 9 insertions, 0 deletions
diff --git a/lib/agentx.c b/lib/agentx.c
index 603d8d617..f049d699a 100644
--- a/lib/agentx.c
+++ b/lib/agentx.c
@@ -32,6 +32,9 @@
#include "linklist.h"
#include "version.h"
#include "lib_errors.h"
+#include "xref.h"
+
+XREF_SETUP()
static int agentx_enabled = 0;
diff --git a/lib/resolver.c b/lib/resolver.c
index e5caadb2d..c01284e29 100644
--- a/lib/resolver.c
+++ b/lib/resolver.c
@@ -19,6 +19,9 @@
#include "lib_errors.h"
#include "resolver.h"
#include "command.h"
+#include "xref.h"
+
+XREF_SETUP()
struct resolver_state {
ares_channel channel;
diff --git a/ospfclient/ospf_apiclient.c b/ospfclient/ospf_apiclient.c
index d4f0dc953..1b9b66d74 100644
--- a/ospfclient/ospf_apiclient.c
+++ b/ospfclient/ospf_apiclient.c
@@ -34,6 +34,7 @@
#include "stream.h"
#include "log.h"
#include "memory.h"
+#include "xref.h"
/* work around gcc bug 69981, disable MTYPEs in libospf */
#define _QUAGGA_OSPF_MEMORY_H
@@ -57,6 +58,8 @@
#include "ospfd/ospf_dump_api.c"
#include "ospfd/ospf_api.c"
+XREF_SETUP()
+
DEFINE_MGROUP(OSPFCLIENT, "libospfapiclient")
DEFINE_MTYPE_STATIC(OSPFCLIENT, OSPF_APICLIENT, "OSPF-API client")