diff options
author | Ruben Kerkhof <ruben@rubenkerkhof.com> | 2020-03-08 20:17:42 +0100 |
---|---|---|
committer | Ruben Kerkhof <ruben@rubenkerkhof.com> | 2020-03-08 20:18:11 +0100 |
commit | 54ca644b6e20416587484011f8e649eeddf2cb15 (patch) | |
tree | db51e0dad491dbd32a6197dec22d4502472f7e3b /ldpd | |
parent | Merge pull request #5934 from rubenk/ldpd-fix-linking-error-with-gcc-10 (diff) | |
download | frr-54ca644b6e20416587484011f8e649eeddf2cb15.tar.xz frr-54ca644b6e20416587484011f8e649eeddf2cb15.zip |
ldpd: fix another linking issue with GCC-10
Signed-off-by: Ruben Kerkhof <ruben@rubenkerkhof.com>
Diffstat (limited to 'ldpd')
-rw-r--r-- | ldpd/ldpd.c | 2 | ||||
-rw-r--r-- | ldpd/ldpd.h | 2 |
2 files changed, 3 insertions, 1 deletions
diff --git a/ldpd/ldpd.c b/ldpd/ldpd.c index 7ab8d56f2..78b1c3e54 100644 --- a/ldpd/ldpd.c +++ b/ldpd/ldpd.c @@ -86,6 +86,8 @@ static struct imsgev *iev_lde, *iev_lde_sync; static pid_t ldpe_pid; static pid_t lde_pid; +enum ldpd_process ldpd_process; + #define LDP_DEFAULT_CONFIG "ldpd.conf" #define LDP_VTY_PORT 2612 diff --git a/ldpd/ldpd.h b/ldpd/ldpd.h index bd7562e5a..a5d1bb717 100644 --- a/ldpd/ldpd.h +++ b/ldpd/ldpd.h @@ -446,7 +446,7 @@ DECLARE_QOBJ_TYPE(l2vpn) #define L2VPN_TYPE_VPLS 2 /* ldp_conf */ -enum ldpd_process { +extern enum ldpd_process { PROC_MAIN, PROC_LDP_ENGINE, PROC_LDE_ENGINE |