summaryrefslogtreecommitdiffstats
path: root/freebsd/contrib/pf/pfctl/pfctl_osfp-data.h
diff options
context:
space:
mode:
authorChristian Mauderer <Christian.Mauderer@embedded-brains.de>2016-07-05 16:31:43 +0200
committerSebastian Huber <sebastian.huber@embedded-brains.de>2016-08-03 14:13:18 +0200
commit4831944a2b4204c907018ad99fdaef2e48c604ad (patch)
tree71a4fd670d503c4632e2244cc40c569d860fb1e2 /freebsd/contrib/pf/pfctl/pfctl_osfp-data.h
parentpfctl: Use static where possible. (diff)
downloadrtems-libbsd-4831944a2b4204c907018ad99fdaef2e48c604ad.tar.bz2
pfctl: Adapt for RTEMS.
Diffstat (limited to 'freebsd/contrib/pf/pfctl/pfctl_osfp-data.h')
-rw-r--r--freebsd/contrib/pf/pfctl/pfctl_osfp-data.h7
1 files changed, 7 insertions, 0 deletions
diff --git a/freebsd/contrib/pf/pfctl/pfctl_osfp-data.h b/freebsd/contrib/pf/pfctl/pfctl_osfp-data.h
new file mode 100644
index 00000000..1ac0ee31
--- /dev/null
+++ b/freebsd/contrib/pf/pfctl/pfctl_osfp-data.h
@@ -0,0 +1,7 @@
+#include <rtems/linkersets.h>
+
+RTEMS_LINKER_RWSET_CONTENT(bsd_prog_pfctl, static int class_count);
+RTEMS_LINKER_RWSET_CONTENT(bsd_prog_pfctl, static struct name_list classes);
+RTEMS_LINKER_RWSET_CONTENT(bsd_prog_pfctl, static int fingerprint_count);
+/* There is also one static buffer called "buf". But this can be ignored. See
+ * comment in source file. */