summaryrefslogtreecommitdiff
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
parent92d8284a9792267514cbe21f3ce1564f6ad0e10b (diff)
downloadtor-58fc42fdcedc9c0446e709d98eaf7c53c464750a.tar.xz
tor-58fc42fdcedc9c0446e709d98eaf7c53c464750a.zip
Fix comments in lib/container/*.c
-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 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"