aboutsummaryrefslogtreecommitdiffstats
path: root/testing/bird/bird-gcc10-fix.patch
blob: 313a437496d97b1fa6ea9143eca0ab5d4f42aea0 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
upstream commit: https://gitlab.nic.cz/labs/bird/-/commit/4bbc10614f3431c37e6352f5a6ea5c693c31021e

diff --git a/nest/route.h b/nest/route.h
index d2a07f09741bf0e1714e8c02f49df6ffbbf03135..b927db5f634ecfa8120b54529b54782000b01c3d 100644
--- a/nest/route.h
+++ b/nest/route.h
@@ -458,7 +458,7 @@ typedef struct rta {
 					   protocol-specific metric is availabe */
 
 
-const char * rta_dest_names[RTD_MAX];
+extern const char * rta_dest_names[RTD_MAX];
 
 static inline const char *rta_dest_name(uint n)
 { return (n < RTD_MAX) ? rta_dest_names[n] : "???"; }