summaryrefslogtreecommitdiffstats
path: root/freebsd/contrib/pf/pfctl/pfctl_parser.c
diff options
context:
space:
mode:
authorChristian Mauderer <Christian.Mauderer@embedded-brains.de>2016-07-29 16:04:42 +0200
committerSebastian Huber <sebastian.huber@embedded-brains.de>2016-08-03 14:13:18 +0200
commit85dd33213b46c7c77f0fe9788d0675398501ecc2 (patch)
tree8c2ef19818332f6f63f39f92cfa7aa387eda5508 /freebsd/contrib/pf/pfctl/pfctl_parser.c
parentpfctl: Add const and move static variables. (diff)
downloadrtems-libbsd-85dd33213b46c7c77f0fe9788d0675398501ecc2.tar.bz2
pfctl: Use static where possible.
Diffstat (limited to 'freebsd/contrib/pf/pfctl/pfctl_parser.c')
-rw-r--r--freebsd/contrib/pf/pfctl/pfctl_parser.c4
1 files changed, 4 insertions, 0 deletions
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)