[rtems-libbsd commit] pfctl: Adapt for RTEMS.
Christian Mauderer
christian.mauderer at embedded-brains.de
Thu Aug 4 05:07:23 UTC 2016
Am 03.08.2016 um 07:02 schrieb Sebastian Huber:
>
>
> 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?
>
Hello Chris,
I agree with Sebastian. The libbsd patch depends on
5fe6d07ad5690e3d9c6445ca3a465a700a5a5015 that is in RTEMS for just a few
days.
Kind regards
Christian
--
--------------------------------------------
embedded brains GmbH
Christian Mauderer
Dornierstr. 4
D-82178 Puchheim
Germany
email: christian.mauderer at embedded-brains.de
Phone: +49-89-18 94 741 - 18
Fax: +49-89-18 94 741 - 08
PGP: Public key available on request.
Diese Nachricht ist keine geschäftliche Mitteilung im Sinne des EHUG.
More information about the devel
mailing list