[rtems-libbsd commit] pfctl: Adapt for RTEMS.
Chris Johns
chrisj at rtems.org
Tue Aug 2 23:22:13 UTC 2016
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
More information about the devel
mailing list