From 85dd33213b46c7c77f0fe9788d0675398501ecc2 Mon Sep 17 00:00:00 2001 From: Christian Mauderer Date: Fri, 29 Jul 2016 16:04:42 +0200 Subject: pfctl: Use static where possible. --- freebsd/contrib/pf/pfctl/pfctl_parser.c | 4 ++++ 1 file changed, 4 insertions(+) (limited to 'freebsd/contrib/pf/pfctl/pfctl_parser.c') diff --git a/freebsd/contrib/pf/pfctl/pfctl_parser.c b/freebsd/contrib/pf/pfctl/pfctl_parser.c index ead2e601..f62fbdad 100644 --- a/freebsd/contrib/pf/pfctl/pfctl_parser.c +++ b/freebsd/contrib/pf/pfctl/pfctl_parser.c @@ -1164,7 +1164,11 @@ check_netmask(struct node_host *h, sa_family_t af) /* interface lookup routines */ +#ifndef __rtems__ struct node_host *iftab; +#else /* __rtems__ */ +static struct node_host *iftab; +#endif /* __rtems__ */ void ifa_load(void) -- cgit v1.2.3