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?

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

Reply via email to