diff options
author | Christian Mauderer <Christian.Mauderer@embedded-brains.de> | 2016-07-29 16:04:42 +0200 |
---|---|---|
committer | Christian Mauderer <Christian.Mauderer@embedded-brains.de> | 2016-08-02 10:21:52 +0200 |
commit | 686583cba4f2701185077eab58800741398c3ac2 (patch) | |
tree | 153b47659898def269b7f932131b3f77c244968d /freebsd/contrib/pf/pfctl/pfctl_parser.c | |
parent | pfctl: Add const and move static variables. (diff) | |
download | rtems-libbsd-686583cba4f2701185077eab58800741398c3ac2.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.c | 4 |
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 49035de6..519fa3fd 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) |