projects
/
lttng-ust.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Fix: pass private data to context callbacks
[lttng-ust.git]
/
liblttng-ust
/
rculfhash.c
diff --git
a/liblttng-ust/rculfhash.c
b/liblttng-ust/rculfhash.c
index b25c1c182ca77e913ad1b100f9254329087fff2b..de90d71051133d129fd39cfeab927a6aa3bb8b1a 100644
(file)
--- 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
#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)))
{
}
{
}
@@
-439,7
+440,10
@@
unsigned int fls_u64(uint64_t x)
#endif
#ifndef HAS_FLS_U64
#endif
#ifndef HAS_FLS_U64
-static __attribute__((unused))
+static
+unsigned int fls_u64(uint64_t x)
+ __attribute__((unused));
+static
unsigned int fls_u64(uint64_t x)
{
unsigned int r = 64;
unsigned int fls_u64(uint64_t x)
{
unsigned int r = 64;
@@
-476,7
+480,10
@@
unsigned int fls_u64(uint64_t x)
#endif
#ifndef HAS_FLS_U32
#endif
#ifndef HAS_FLS_U32
-static __attribute__((unused))
+static
+unsigned int fls_u32(uint32_t x)
+ __attribute__((unused));
+static
unsigned int fls_u32(uint32_t x)
{
unsigned int r = 32;
unsigned int fls_u32(uint32_t x)
{
unsigned int r = 32;
@@
-1099,7
+1106,8
@@
void lttng_ust_lfht_lookup(struct lttng_ust_lfht *ht, unsigned long hash,
iter->next = next;
}
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;
const void *key, struct lttng_ust_lfht_iter *iter)
{
struct lttng_ust_lfht_node *node, *next;
@@
-1133,7
+1141,8
@@
void lttng_ust_lfht_next_duplicate(struct lttng_ust_lfht *ht, lttng_ust_lfht_mat
iter->next = next;
}
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;
{
struct lttng_ust_lfht_node *node, *next;
This page took
0.024265 seconds
and
4
git commands to generate.