mirror of
https://github.com/systemd/systemd.git
synced 2025-09-19 01:44:42 +03:00
sd-lldp-rx: wrap long line
This commit is contained in:
@@ -28,8 +28,13 @@ int lldp_neighbor_id_compare_func(const LLDPNeighborID *x, const LLDPNeighborID
|
|||||||
?: memcmp_nn(x->port_id, x->port_id_size, y->port_id, y->port_id_size);
|
?: memcmp_nn(x->port_id, x->port_id_size, y->port_id, y->port_id_size);
|
||||||
}
|
}
|
||||||
|
|
||||||
DEFINE_HASH_OPS_WITH_VALUE_DESTRUCTOR(lldp_neighbor_hash_ops, LLDPNeighborID, lldp_neighbor_id_hash_func, lldp_neighbor_id_compare_func,
|
DEFINE_HASH_OPS_WITH_VALUE_DESTRUCTOR(
|
||||||
sd_lldp_neighbor, lldp_neighbor_unlink);
|
lldp_neighbor_hash_ops,
|
||||||
|
LLDPNeighborID,
|
||||||
|
lldp_neighbor_id_hash_func,
|
||||||
|
lldp_neighbor_id_compare_func,
|
||||||
|
sd_lldp_neighbor,
|
||||||
|
lldp_neighbor_unlink);
|
||||||
|
|
||||||
int lldp_neighbor_prioq_compare_func(const void *a, const void *b) {
|
int lldp_neighbor_prioq_compare_func(const void *a, const void *b) {
|
||||||
const sd_lldp_neighbor *x = a, *y = b;
|
const sd_lldp_neighbor *x = a, *y = b;
|
||||||
|
Reference in New Issue
Block a user