On 03/08/16 01:22, Chris Johns wrote:
On 02/08/2016 21:21, Sebastian Huber wrote:
freebsd/contrib/pf/pfctl/parse-data.h          | 42 ++++++++++++++++++++
diff --git a/freebsd/contrib/pf/pfctl/parse-data.h b/freebsd/contrib/pf/pfctl/parse-data.h
new file mode 100644
index 0000000..22f6295
--- /dev/null
+++ b/freebsd/contrib/pf/pfctl/parse-data.h
@@ -0,0 +1,42 @@
+#include <rtems/linkersets.h>
+
+RTEMS_LINKER_RWSET_CONTENT(bsd_prog_pfctl,
+    static struct antispoof_opts antispoof_opts);

I am seeing ...

[ 18/954] Compiling freebsd/contrib/pf/pfctl/pfctl_qstats.c
In file included from ../../freebsd/contrib/pf/pfctl/parse.y:6138:0:
../../freebsd/contrib/pf/pfctl/parse-data.h:4:5: error: expected ')' before 'static'
     static struct antispoof_opts antispoof_opts);
     ^~~~~~
../../freebsd/contrib/pf/pfctl/parse-data.h:5:44: error: expected ')' before 'static'
 RTEMS_LINKER_RWSET_CONTENT(bsd_prog_pfctl, static int blockpolicy);
                                            ^~~~~~
Are these changes OK?

Does it work after an RTEMS update?

--
Sebastian Huber, embedded brains GmbH

Address : Dornierstr. 4, D-82178 Puchheim, Germany
Phone   : +49 89 189 47 41-16
Fax     : +49 89 189 47 41-09
E-Mail  : sebastian.hu...@embedded-brains.de
PGP     : Public key available on request.

Diese Nachricht ist keine geschäftliche Mitteilung im Sinne des EHUG.

_______________________________________________
devel mailing list
devel@rtems.org
http://lists.rtems.org/mailman/listinfo/devel

Reply via email to