aboutsummaryrefslogtreecommitdiff
path: root/src/lib/container
diff options
context:
space:
mode:
authorNick Mathewson <nickm@torproject.org>2018-06-26 11:33:53 -0400
committerNick Mathewson <nickm@torproject.org>2018-06-26 11:33:53 -0400
commit58fc42fdcedc9c0446e709d98eaf7c53c464750a (patch)
treedad9d3a3e57a67c737a25c1fc7036787d1dbdab2 /src/lib/container
parent92d8284a9792267514cbe21f3ce1564f6ad0e10b (diff)
downloadtor-58fc42fdcedc9c0446e709d98eaf7c53c464750a.tar.gz
tor-58fc42fdcedc9c0446e709d98eaf7c53c464750a.zip
Fix comments in lib/container/*.c
Diffstat (limited to 'src/lib/container')
-rw-r--r--src/lib/container/bloomfilt.c7
-rw-r--r--src/lib/container/map.c4
-rw-r--r--src/lib/container/order.c7
-rw-r--r--src/lib/container/smartlist.c4
4 files changed, 6 insertions, 16 deletions
diff --git a/src/lib/container/bloomfilt.c b/src/lib/container/bloomfilt.c
index cbb4d13e5d..2133c280a5 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 5f280b3169..3d84356cc8 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 4fdd51d996..1efef2c734 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 852a32810d..3c0844384a 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"