bird1: fix compilation with GCC 10
[feed/routing.git] / bird1 / patches / 010-gcc10.patch
1 --- a/sysdep/unix/krt.h
2 +++ b/sysdep/unix/krt.h
3 @@ -112,7 +112,7 @@ struct kif_proto {
4 struct kif_state sys; /* Sysdep state */
5 };
6
7 -struct kif_proto *kif_proto;
8 +extern struct kif_proto *kif_proto;
9
10 #define KIF_CF ((struct kif_config *)p->p.cf)
11