[rtems-libbsd commit] pfctl: Match prototype.

Sebastian Huber sebh at rtems.org
Tue Aug 2 11:21:59 UTC 2016


Module:    rtems-libbsd
Branch:    master
Commit:    b6252fb80630162cfed693e84eb9ddef4435b7fb
Changeset: http://git.rtems.org/rtems-libbsd/commit/?id=b6252fb80630162cfed693e84eb9ddef4435b7fb

Author:    Christian Mauderer <Christian.Mauderer at embedded-brains.de>
Date:      Tue Jul  5 16:31:43 2016 +0200

pfctl: Match prototype.

Note: This should be upstreamed into BSD.

---

 freebsd/contrib/pf/pfctl/pfctl.c | 4 ++++
 1 file changed, 4 insertions(+)

diff --git a/freebsd/contrib/pf/pfctl/pfctl.c b/freebsd/contrib/pf/pfctl/pfctl.c
index 2d57839..a44f41e 100644
--- a/freebsd/contrib/pf/pfctl/pfctl.c
+++ b/freebsd/contrib/pf/pfctl/pfctl.c
@@ -86,7 +86,11 @@ int	 pfctl_load_limit(struct pfctl *, unsigned int, unsigned int);
 int	 pfctl_load_timeout(struct pfctl *, unsigned int, unsigned int);
 int	 pfctl_load_debug(struct pfctl *, unsigned int);
 int	 pfctl_load_logif(struct pfctl *, char *);
+#ifndef __rtems__
 int	 pfctl_load_hostid(struct pfctl *, unsigned int);
+#else /* __rtems__ */
+int	 pfctl_load_hostid(struct pfctl *, u_int32_t);
+#endif /* __rtems__ */
 int	 pfctl_get_pool(int, struct pf_pool *, u_int32_t, u_int32_t, int,
 	    char *);
 void	 pfctl_print_rule_counters(struct pf_rule *, int);



More information about the vc mailing list