mirror of
https://github.com/FRRouting/frr.git
synced 2025-04-30 13:37:17 +02:00
*: 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>
This commit is contained in:
parent
afb3020e28
commit
3ca60d00b1
|
@ -10,3 +10,8 @@
|
||||||
/*
|
/*
|
||||||
* Main file for the fpm_pb library.
|
* Main file for the fpm_pb library.
|
||||||
*/
|
*/
|
||||||
|
|
||||||
|
#include "config.h"
|
||||||
|
#include "xref.h"
|
||||||
|
|
||||||
|
XREF_SETUP();
|
||||||
|
|
6
mgmtd/mgmt_be_nb.c
Normal file
6
mgmtd/mgmt_be_nb.c
Normal file
|
@ -0,0 +1,6 @@
|
||||||
|
// SPDX-License-Identifier: GPL-2.0-or-later
|
||||||
|
|
||||||
|
#include "config.h"
|
||||||
|
#include "xref.h"
|
||||||
|
|
||||||
|
XREF_SETUP();
|
|
@ -16,6 +16,7 @@ clippy_scan += \
|
||||||
|
|
||||||
lib_LTLIBRARIES += mgmtd/libmgmt_be_nb.la
|
lib_LTLIBRARIES += mgmtd/libmgmt_be_nb.la
|
||||||
mgmtd_libmgmt_be_nb_la_SOURCES = \
|
mgmtd_libmgmt_be_nb_la_SOURCES = \
|
||||||
|
mgmtd/mgmt_be_nb.c \
|
||||||
zebra/zebra_cli.c \
|
zebra/zebra_cli.c \
|
||||||
# end
|
# end
|
||||||
nodist_mgmtd_libmgmt_be_nb_la_SOURCES = \
|
nodist_mgmtd_libmgmt_be_nb_la_SOURCES = \
|
||||||
|
|
|
@ -10,3 +10,8 @@
|
||||||
/*
|
/*
|
||||||
* Main file for the qpb library.
|
* Main file for the qpb library.
|
||||||
*/
|
*/
|
||||||
|
|
||||||
|
#include "config.h"
|
||||||
|
#include "xref.h"
|
||||||
|
|
||||||
|
XREF_SETUP();
|
||||||
|
|
|
@ -36,6 +36,8 @@
|
||||||
#include "fpm/fpm.h"
|
#include "fpm/fpm.h"
|
||||||
#include "lib/libfrr.h"
|
#include "lib/libfrr.h"
|
||||||
|
|
||||||
|
XREF_SETUP();
|
||||||
|
|
||||||
struct glob {
|
struct glob {
|
||||||
int server_sock;
|
int server_sock;
|
||||||
int sock;
|
int sock;
|
||||||
|
|
Loading…
Reference in a new issue