commit 58fc42fdcedc9c0446e709d98eaf7c53c464750a Author: Nick Mathewson nickm@torproject.org Date: Tue Jun 26 11:33:53 2018 -0400
Fix comments in lib/container/*.c --- src/lib/container/bloomfilt.c | 7 ++----- src/lib/container/map.c | 4 +--- src/lib/container/order.c | 7 ++----- src/lib/container/smartlist.c | 4 +--- 4 files changed, 6 insertions(+), 16 deletions(-)
diff --git a/src/lib/container/bloomfilt.c b/src/lib/container/bloomfilt.c index cbb4d13e5..2133c280a 100644 --- a/src/lib/container/bloomfilt.c +++ b/src/lib/container/bloomfilt.c @@ -4,11 +4,8 @@ /* See LICENSE for licensing information */
/** - * \file container.c - * \brief Implements a smartlist (a resizable array) along - * with helper functions to use smartlists. Also includes - * hash table implementations of a string-to-void* map, and of - * a digest-to-void* map. + * \file bloomfilt.c + * \brief Uses bitarray_t to implement a bloom filter. **/
#include <stdlib.h> diff --git a/src/lib/container/map.c b/src/lib/container/map.c index 5f280b316..3d84356cc 100644 --- a/src/lib/container/map.c +++ b/src/lib/container/map.c @@ -5,9 +5,7 @@
/** * \file container.c - * \brief Implements a smartlist (a resizable array) along - * with helper functions to use smartlists. Also includes - * hash table implementations of a string-to-void* map, and of + * \brief Hash table implementations of a string-to-void* map, and of * a digest-to-void* map. **/
diff --git a/src/lib/container/order.c b/src/lib/container/order.c index 4fdd51d99..1efef2c73 100644 --- a/src/lib/container/order.c +++ b/src/lib/container/order.c @@ -4,11 +4,8 @@ /* See LICENSE for licensing information */
/** - * \file container.c - * \brief Implements a smartlist (a resizable array) along - * with helper functions to use smartlists. Also includes - * hash table implementations of a string-to-void* map, and of - * a digest-to-void* map. + * \file order.c + * \brief Functions for finding the n'th element of an array. **/
#include <stdlib.h> diff --git a/src/lib/container/smartlist.c b/src/lib/container/smartlist.c index 852a32810..3c0844384 100644 --- a/src/lib/container/smartlist.c +++ b/src/lib/container/smartlist.c @@ -6,9 +6,7 @@ /** * \file container.c * \brief Implements a smartlist (a resizable array) along - * with helper functions to use smartlists. Also includes - * hash table implementations of a string-to-void* map, and of - * a digest-to-void* map. + * with helper functions to use smartlists. **/
#include "lib/malloc/util_malloc.h"