Files
NetworkManager/shared/n-acd
Lubomir Rintel de8bf7421d n-acd: don't use a return value in deallocator
...so that its prototype is compatible with GDestroyNotify:

src/devices/nm-acd-manager.c: In function ‘destroy_address_info’:
/usr/include/glib-2.0/glib/gmem.h:120:31: error: cast between incompatible function types from ‘NAcd * (*)(NAcd *)’ {aka ‘struct NAcd * (*)(struct NAcd *)’} to ‘void (*)(void *)’ [-Werror=cast-function-type]
     GDestroyNotify _destroy = (GDestroyNotify) (destroy);                      \
                               ^
src/devices/nm-acd-manager.c:430:2: note: in expansion of macro ‘g_clear_pointer’
  g_clear_pointer (&info->acd, n_acd_free);
  ^~~~~~~~~~~~~~~

The same change was done upstream, so the subsequent subtree pull of n-acd
won't mess this up.
2018-04-23 09:50:12 +02:00
..

n-acd - IPv4 Address Conflict Detection

ABOUT:
        The n-acd project implements the IPv4 Address Conflict Detection
        standard as defined in RFC-5227. The state machine is implemented in a
        shared library and provides a stable ISO-C11 API. The implementation is
        linux-only and relies heavily on the API behavior of recent linux
        kernel releases.

DETAILS:
        https://github.com/nettools/n-acd/wiki

BUG REPORTS:
        https://github.com/nettools/n-acd/issues

GIT:
        git@github.com:nettools/n-acd.git
        https://github.com/nettools/n-acd.git

GITWEB:
        https://github.com/nettools/n-acd

LICENSE:
        Apache Software License 2.0 (LICENSE)
        See COPYING for details.

REQUIREMENTS:
        The requirements for n-acd are:

            Linux kernel >= 3.0
            libc (e.g., glibc >= 2.16)

        At build-time, the following software is required:

            meson >= 0.41
            pkg-config >= 0.29

INSTALL:
        The meson build-system is used for n-acd. Contact upstream
        documentation for detailed help. In most situations the following
        commands are sufficient to build and install n-acd from source:

            $ mkdir build
            $ cd build
            $ meson setup . ..
            $ ninja
            $ ninja test
            # ninja install

        No custom configuration options are available.