summaryrefslogtreecommitdiff
path: root/src/common/memarea.h
diff options
context:
space:
mode:
authorNick Mathewson <nickm@torproject.org>2016-02-24 14:32:09 -0500
committerNick Mathewson <nickm@torproject.org>2016-02-24 14:32:09 -0500
commit73c433a48a15808c87fafbbfe43da60cc4ab7b0e (patch)
tree3fe49b5ac46d7a2c9a6319694775ca3e85bcbdcc /src/common/memarea.h
parent1318c1611fed301f44d69a2d6e4f012efd94c9cc (diff)
downloadtor-73c433a48a15808c87fafbbfe43da60cc4ab7b0e.tar.gz
tor-73c433a48a15808c87fafbbfe43da60cc4ab7b0e.zip
Remove the freelist from memarea.c
This is in accordance with our usual policy against freelists, now that working allocators are everywhere. It should also make memarea.c's coverage higher. I also doubt that this code ever helped performance.
Diffstat (limited to 'src/common/memarea.h')
-rw-r--r--src/common/memarea.h1
1 files changed, 0 insertions, 1 deletions
diff --git a/src/common/memarea.h b/src/common/memarea.h
index d14f3a2bae..4b2f3b4836 100644
--- a/src/common/memarea.h
+++ b/src/common/memarea.h
@@ -18,7 +18,6 @@ char *memarea_strdup(memarea_t *area, const char *s);
char *memarea_strndup(memarea_t *area, const char *s, size_t n);
void memarea_get_stats(memarea_t *area,
size_t *allocated_out, size_t *used_out);
-void memarea_clear_freelist(void);
void memarea_assert_ok(memarea_t *area);
#endif