From 21bac846638fbbbe2b03672295d4f14fc3ceb839 Mon Sep 17 00:00:00 2001 From: Christian Grothoff Date: Wed, 23 Apr 2014 10:47:47 +0000 Subject: [PATCH] -rename to conform with naming conventions --- src/include/gnunet_container_lib.h | 6 +++--- src/util/container_bloomfilter.c | 2 +- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/src/include/gnunet_container_lib.h b/src/include/gnunet_container_lib.h index 165643f60..a9c1f4b45 100644 --- a/src/include/gnunet_container_lib.h +++ b/src/include/gnunet_container_lib.h @@ -61,14 +61,14 @@ struct GNUNET_CONTAINER_BloomFilter; /** * @ingroup bloomfilter - * Iterator over struct GNUNET_HashCodes. + * Iterator over `struct GNUNET_HashCode`. * * @param cls closure * @param next set to the next hash code * @return #GNUNET_YES if next was updated * #GNUNET_NO if there are no more entries */ -typedef int (*GNUNET_HashCodeIterator) (void *cls, +typedef int (*GNUNET_CONTAINER_HashCodeIterator) (void *cls, struct GNUNET_HashCode *next); @@ -260,7 +260,7 @@ GNUNET_CONTAINER_bloomfilter_or2 (struct GNUNET_CONTAINER_BloomFilter *bf, */ void GNUNET_CONTAINER_bloomfilter_resize (struct GNUNET_CONTAINER_BloomFilter *bf, - GNUNET_HashCodeIterator iterator, + GNUNET_CONTAINER_HashCodeIterator iterator, void *iterator_cls, size_t size, unsigned int k); diff --git a/src/util/container_bloomfilter.c b/src/util/container_bloomfilter.c index 9554e0ec0..8658320c1 100644 --- a/src/util/container_bloomfilter.c +++ b/src/util/container_bloomfilter.c @@ -850,7 +850,7 @@ GNUNET_CONTAINER_bloomfilter_remove (struct GNUNET_CONTAINER_BloomFilter *bf, */ void GNUNET_CONTAINER_bloomfilter_resize (struct GNUNET_CONTAINER_BloomFilter *bf, - GNUNET_HashCodeIterator iterator, + GNUNET_CONTAINER_HashCodeIterator iterator, void *iterator_cls, size_t size, unsigned int k) { -- 2.25.1