From 2e0ae487a84864263509284715222ff79c3e79f4 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Timo=20Ter=C3=A4s?= Date: Tue, 17 Nov 2020 16:23:45 +0200 Subject: [PATCH] fix builds with gcc10 --- nhrp/nhrp_peer.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/nhrp/nhrp_peer.h b/nhrp/nhrp_peer.h index e0e77f6..1fef210 100644 --- a/nhrp/nhrp_peer.h +++ b/nhrp/nhrp_peer.h @@ -138,7 +138,7 @@ struct nhrp_peer_selector { struct nhrp_address local_nbma_address; }; -const char * const nhrp_peer_type[NHRP_PEER_TYPE_MAX]; +extern const char * const nhrp_peer_type[NHRP_PEER_TYPE_MAX]; typedef int (*nhrp_peer_enumerator)(void *ctx, struct nhrp_peer *peer); void nhrp_peer_cleanup(void); -- 2.29.2