X-Git-Url: http://git.liburcu.org/?a=blobdiff_plain;f=liblttng-ust%2Frculfhash.c;fp=liblttng-ust%2Frculfhash.c;h=de90d71051133d129fd39cfeab927a6aa3bb8b1a;hb=2208d8b5689264e35ed0a660d8c3c82021cc0367;hp=efdb5e70ef684d37dbad74af3df3d22820c10f1f;hpb=c53279a3e7796da67c5ad8d5e5657bf03def2dcb;p=lttng-ust.git diff --git a/liblttng-ust/rculfhash.c b/liblttng-ust/rculfhash.c index efdb5e70..de90d710 100644 --- a/liblttng-ust/rculfhash.c +++ b/liblttng-ust/rculfhash.c @@ -334,7 +334,8 @@ void lttng_ust_lfht_iter_debug_set_ht(struct lttng_ust_lfht *ht, struct lttng_us #else static -void lttng_ust_lfht_iter_debug_set_ht(struct lttng_ust_lfht *ht, struct lttng_ust_lfht_iter *iter) +void lttng_ust_lfht_iter_debug_set_ht(struct lttng_ust_lfht *ht __attribute__((unused)), + struct lttng_ust_lfht_iter *iter __attribute__((unused))) { } @@ -1105,7 +1106,8 @@ void lttng_ust_lfht_lookup(struct lttng_ust_lfht *ht, unsigned long hash, iter->next = next; } -void lttng_ust_lfht_next_duplicate(struct lttng_ust_lfht *ht, lttng_ust_lfht_match_fct match, +void lttng_ust_lfht_next_duplicate(struct lttng_ust_lfht *ht __attribute__((unused)), + lttng_ust_lfht_match_fct match, const void *key, struct lttng_ust_lfht_iter *iter) { struct lttng_ust_lfht_node *node, *next; @@ -1139,7 +1141,8 @@ void lttng_ust_lfht_next_duplicate(struct lttng_ust_lfht *ht, lttng_ust_lfht_mat iter->next = next; } -void lttng_ust_lfht_next(struct lttng_ust_lfht *ht, struct lttng_ust_lfht_iter *iter) +void lttng_ust_lfht_next(struct lttng_ust_lfht *ht __attribute__((unused)), + struct lttng_ust_lfht_iter *iter) { struct lttng_ust_lfht_node *node, *next;