busctl,sd-lldp: explicitly specify type of argument in compare function
authorYu Watanabe <watanabe.yu+github@gmail.com>
Tue, 18 Sep 2018 23:28:50 +0000 (08:28 +0900)
committerYu Watanabe <watanabe.yu+github@gmail.com>
Tue, 18 Sep 2018 23:28:54 +0000 (08:28 +0900)
commitdc5f9c6f3951c8be64514d687d0355a704794cac
treece9b12ee5413e3271d18a455cc85bc31ea167e26
parentbc861c2e09079315b6725600070fdbecc7bd8fc6
busctl,sd-lldp: explicitly specify type of argument in compare function

Several functions are shared by qsort and hash_ops or Prioq.
This makes these functions explicitly specify argument type,
and cast to __compar_fn_t where necessary.
src/busctl/busctl.c
src/libsystemd-network/lldp-neighbor.c
src/libsystemd-network/lldp-neighbor.h
src/libsystemd-network/sd-lldp.c