From: Maria Matejka Date: Tue, 4 Feb 2020 09:11:16 +0000 (+0100) Subject: Added missing extern X-Git-Tag: v2.0.8~100 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=4bbc10614f3431c37e6352f5a6ea5c693c31021e;p=thirdparty%2Fbird.git Added missing extern Thanks to Robert Scheck who reported it and Toke Høiland-Jørgensen who suggested this patch. --- diff --git a/nest/route.h b/nest/route.h index d2a07f097..b927db5f6 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] : "???"; }