projects
/
userspace-rcu.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Fix: change order of _cds_lfht_new_with_alloc parameters
[userspace-rcu.git]
/
include
/
urcu
/
rculfhash.h
diff --git
a/include/urcu/rculfhash.h
b/include/urcu/rculfhash.h
index 8b57cd87f82a5ce5893a785afaf691cdd95cb2b1..e0f4b351fc9b027a32ecee2c1e8a958b3ce21b2f 100644
(file)
--- a/
include/urcu/rculfhash.h
+++ b/
include/urcu/rculfhash.h
@@
-159,8
+159,8
@@
struct cds_lfht *_cds_lfht_new_with_alloc(unsigned long init_size,
unsigned long max_nr_buckets,
int flags,
const struct cds_lfht_mm_type *mm,
unsigned long max_nr_buckets,
int flags,
const struct cds_lfht_mm_type *mm,
- const struct cds_lfht_alloc *alloc,
const struct rcu_flavor_struct *flavor,
const struct rcu_flavor_struct *flavor,
+ const struct cds_lfht_alloc *alloc,
pthread_attr_t *attr);
/*
pthread_attr_t *attr);
/*
@@
-248,7
+248,7
@@
struct cds_lfht *cds_lfht_new_with_flavor_alloc(unsigned long init_size,
pthread_attr_t *attr)
{
return _cds_lfht_new_with_alloc(init_size, min_nr_alloc_buckets, max_nr_buckets,
pthread_attr_t *attr)
{
return _cds_lfht_new_with_alloc(init_size, min_nr_alloc_buckets, max_nr_buckets,
- flags, NULL,
alloc, flavor
, attr);
+ flags, NULL,
flavor, alloc
, attr);
}
}
This page took
0.023232 seconds
and
4
git commands to generate.