diff options
author | Maria Matejka <mq@ucw.cz> | 2020-02-04 10:11:16 +0100 |
---|---|---|
committer | Maria Matejka <mq@ucw.cz> | 2020-02-04 10:11:16 +0100 |
commit | 4bbc10614f3431c37e6352f5a6ea5c693c31021e (patch) | |
tree | f9645875b6785c999d8e9d18d3e03912d35eb319 /nest | |
parent | 7f9adafc109d576d5249c25ef284606dbac4adfa (diff) |
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.
Diffstat (limited to 'nest')
-rw-r--r-- | nest/route.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/nest/route.h b/nest/route.h index d2a07f09..b927db5f 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] : "???"; } |