summaryrefslogtreecommitdiffstats
path: root/fpm/fpm_pb.c
diff options
context:
space:
mode:
authorDavid Lamparter <equinox@opensourcerouting.org>2024-05-02 10:55:11 +0200
committerDavid Lamparter <equinox@opensourcerouting.org>2024-05-02 23:03:08 +0200
commit3ca60d00b1a3ca3822db5fcf6ba46cf3ac0a6b0b (patch)
treedc05bb85b030d436e4fb7a886e1e297299ae6786 /fpm/fpm_pb.c
parentMerge pull request #15837 from acooks-at-bda/dev/fix-deprecated-cares-api (diff)
downloadfrr-3ca60d00b1a3ca3822db5fcf6ba46cf3ac0a6b0b.tar.xz
frr-3ca60d00b1a3ca3822db5fcf6ba46cf3ac0a6b0b.zip
*: add XREF_SETUP() to libraries and utilites
This is theoretically not needed if neither DEFUNs nor zlog_* calls are used, except I'm about to turn it into a build error to catch the cases where it _is_ necessary. Which is libmgmt_be_nb.la in this case, where it causes build failures on hppa. Signed-off-by: David Lamparter <equinox@opensourcerouting.org>
Diffstat (limited to 'fpm/fpm_pb.c')
-rw-r--r--fpm/fpm_pb.c5
1 files changed, 5 insertions, 0 deletions
diff --git a/fpm/fpm_pb.c b/fpm/fpm_pb.c
index e4c9395a8..0e8f618c4 100644
--- a/fpm/fpm_pb.c
+++ b/fpm/fpm_pb.c
@@ -10,3 +10,8 @@
/*
* Main file for the fpm_pb library.
*/
+
+#include "config.h"
+#include "xref.h"
+
+XREF_SETUP();