summaryrefslogtreecommitdiff
path: root/src/common
diff options
context:
space:
mode:
authorRoger Dingledine <arma@torproject.org>2006-10-07 00:50:39 +0000
committerRoger Dingledine <arma@torproject.org>2006-10-07 00:50:39 +0000
commit06e5b2283c6b3b256f098191e7b86a44f00b2ccb (patch)
tree42facd018edd0278c2f4ef6777f9fd3afad8890f /src/common
parent8ba5471de3c4b26f19f021ee8035c507dc1915f3 (diff)
downloadtor-06e5b2283c6b3b256f098191e7b86a44f00b2ccb.tar.gz
tor-06e5b2283c6b3b256f098191e7b86a44f00b2ccb.zip
minor cleanups
svn:r8622
Diffstat (limited to 'src/common')
-rw-r--r--src/common/container.c8
1 files changed, 4 insertions, 4 deletions
diff --git a/src/common/container.c b/src/common/container.c
index 170fe59e28..5facd72d65 100644
--- a/src/common/container.c
+++ b/src/common/container.c
@@ -542,7 +542,7 @@ smartlist_heapify(smartlist_t *sl,
}
/** Insert <b>item</b> into the heap stored in <b>sl</b>, where order
- * is determined by <b>compare</b> */
+ * is determined by <b>compare</b>. */
void
smartlist_pqueue_add(smartlist_t *sl,
int (*compare)(const void *a, const void *b),
@@ -636,7 +636,7 @@ strmap_entries_eq(strmap_entry_t *a, strmap_entry_t *b)
return !strcmp(a->key, b->key);
}
-/** Helper: return a hash value for a strmap_entry_t */
+/** Helper: return a hash value for a strmap_entry_t. */
static INLINE unsigned int
strmap_entry_hash(strmap_entry_t *a)
{
@@ -650,7 +650,7 @@ digestmap_entries_eq(digestmap_entry_t *a, digestmap_entry_t *b)
return !memcmp(a->key, b->key, DIGEST_LEN);
}
-/** Helper: return a hash value for a digest_map_t */
+/** Helper: return a hash value for a digest_map_t. */
static INLINE unsigned int
digestmap_entry_hash(digestmap_entry_t *a)
{
@@ -1051,7 +1051,7 @@ digestmap_isempty(digestmap_t *map)
return HT_EMPTY(&map->head);
}
-/** Return the number of items in <b>map</b> */
+/** Return the number of items in <b>map</b>. */
int
strmap_size(strmap_t *map)
{