Added missing extern
Thanks to Robert Scheck <bird@robert-scheck.de> who reported it and Toke Høiland-Jørgensen <toke@toke.dk> who suggested this patch.
This commit is contained in:
parent
7f9adafc10
commit
4bbc10614f
1 changed files with 1 additions and 1 deletions
|
@ -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] : "???"; }
|
||||
|
|
Loading…
Reference in a new issue