summaryrefslogtreecommitdiff
path: root/src/common/memarea.c
diff options
context:
space:
mode:
authorNick Mathewson <nickm@torproject.org>2008-12-22 14:56:28 +0000
committerNick Mathewson <nickm@torproject.org>2008-12-22 14:56:28 +0000
commit1725c0c8a50cb4de34157aee720af6753821f80c (patch)
treeff61e0f1234abc1a087456869a929d8a88d19463 /src/common/memarea.c
parentef1be06de6d47daea90f8fccf9d627d083d4c071 (diff)
downloadtor-1725c0c8a50cb4de34157aee720af6753821f80c.tar.gz
tor-1725c0c8a50cb4de34157aee720af6753821f80c.zip
Add DOCDOC comments for all undocumented functions. Add missing *s to other comments so that they will get recognized as doxygen.
svn:r17729
Diffstat (limited to 'src/common/memarea.c')
-rw-r--r--src/common/memarea.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/common/memarea.c b/src/common/memarea.c
index 4257c4552c..5c565cebe7 100644
--- a/src/common/memarea.c
+++ b/src/common/memarea.c
@@ -26,7 +26,7 @@
#error "void* is neither 4 nor 8 bytes long. I don't know how to align stuff."
#endif
-/* Increment <b>ptr</b> until it is aligned to MEMAREA_ALIGN. */
+/** Increment <b>ptr</b> until it is aligned to MEMAREA_ALIGN. */
static INLINE void *
realign_pointer(void *ptr)
{
@@ -85,6 +85,7 @@ alloc_chunk(size_t sz, int freelist_ok)
}
}
+/* DOCDOC chunk_free */
static void
chunk_free(memarea_chunk_t *chunk)
{