X-Git-Url: https://git.liburcu.org/?a=blobdiff_plain;f=src%2Frculfhash-internal.h;h=e17210b8624cf7fd370ef88f591174e100085548;hb=799d344f0b89f0c3565f54ad740e7964eb75b7d2;hp=d29a9232c03e6c42c844d8bfaaf3f63e588c5473;hpb=6bcce2356ba83372b1ca481ace59f5d489e269f2;p=urcu.git diff --git a/src/rculfhash-internal.h b/src/rculfhash-internal.h index d29a923..e17210b 100644 --- a/src/rculfhash-internal.h +++ b/src/rculfhash-internal.h @@ -24,10 +24,10 @@ * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA */ +#include #include #include #include -#include #ifdef DEBUG #define dbg_printf(fmt, args...) printf("[debug rculfhash] " fmt, ## args) @@ -170,7 +170,7 @@ struct cds_lfht *__default_alloc_cds_lfht( struct cds_lfht *ht; ht = calloc(1, cds_lfht_size); - assert(ht); + urcu_posix_assert(ht); ht->mm = mm; ht->bucket_at = mm->bucket_at;