From 4a3fc6e22eb0ae9ff8edace12c101c5385dfa7cc Mon Sep 17 00:00:00 2001 From: Mitchell Horne Date: Sun, 8 Nov 2020 19:02:22 +0000 Subject: [PATCH] Fix definition of rn_addmask() Add the missing static keyword present in the declaration. Reviewed by: melifaro Sponsored by: NetApp, Inc. Sponsored by: Klara, Inc. Differential Revision: https://reviews.freebsd.org/D27024 --- sys/net/radix.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/sys/net/radix.c b/sys/net/radix.c index 410278e9a2e9..1f58318e52ae 100644 --- a/sys/net/radix.c +++ b/sys/net/radix.c @@ -483,7 +483,7 @@ on1: return (tt); } -struct radix_node * +static struct radix_node * rn_addmask(void *n_arg, struct radix_mask_head *maskhead, int search, int skip) { unsigned char *netmask = n_arg;