X-Git-Url: https://git.octo.it/?a=blobdiff_plain;f=src%2Flibcollectdclient%2Fcollectd%2Fclient.h;h=47462a6ba7884b70385f45d1e275cfed064448e6;hb=da612fa9c6a3343b43789569d64197d7c690be52;hp=8e7f4b60acd5498dd4edb04da56e39f29d62b02b;hpb=3d7453f6c3a13dc49e9ed6dd6d7a19202a3b087e;p=collectd.git diff --git a/src/libcollectdclient/collectd/client.h b/src/libcollectdclient/collectd/client.h index 8e7f4b60..47462a6b 100644 --- a/src/libcollectdclient/collectd/client.h +++ b/src/libcollectdclient/collectd/client.h @@ -131,8 +131,8 @@ int lcc_string_to_identifier (lcc_connection_t *c, /* Compares the identifiers "i0" and "i1" and returns less than zero or greater * than zero if "i0" is smaller than or greater than "i1", respectively. If * "i0" and "i1" are identical, zero is returned. */ -int lcc_identifier_compare (const lcc_identifier_t *i0, - const lcc_identifier_t *i1); +int lcc_identifier_compare (const void *i0, + const void *i1); int lcc_sort_identifiers (lcc_connection_t *c, lcc_identifier_t *idents, size_t idents_num);