On Sonntag, 4. September 2016 20:23:31 CEST Sven Eckelmann wrote:
> uclibc on 64 bit systems uses struct members called __unused. These
> conflict with the definition of __unused in batctl. Such a conflict results
> in a build error because the struct member will be replaced with the
> __attribute__((unused)).
> 
> This can be avoided by renaming it to the Linux kernel name
> "__maybe_unused".
> 
> Signed-off-by: Sven Eckelmann <s...@narfation.org>
> Tested-by: Andreas Pape <ap...@phoenixcontact.com>
> ---
>  genl.c     |  4 ++--
>  main.h     |  2 +-
>  netlink.c  | 10 +++++-----
>  tp_meter.c |  5 +++--
>  4 files changed, 11 insertions(+), 10 deletions(-)

Applied in 7402351d3bef02d8dac2e9b68a9e3eca472fd33d [1].

Kind regards,
        Sven

[1] 
https://git.open-mesh.org/batctl.git/commit/7402351d3bef02d8dac2e9b68a9e3eca472fd33d

Attachment: signature.asc
Description: This is a digitally signed message part.

Reply via email to