aboutsummaryrefslogtreecommitdiff
path: root/src/common/container.h
diff options
context:
space:
mode:
authorNick Mathewson <nickm@torproject.org>2008-02-19 23:05:56 +0000
committerNick Mathewson <nickm@torproject.org>2008-02-19 23:05:56 +0000
commitdbcf29d301a1939028e101c3be30ba660ce567cc (patch)
tree21bd6c46a7e6536e4011b3a3bfc71208a1e76cf3 /src/common/container.h
parent9479dd376889c9d2cfb25bae8bd8b0a570118b3f (diff)
downloadtor-dbcf29d301a1939028e101c3be30ba660ce567cc.tar
tor-dbcf29d301a1939028e101c3be30ba660ce567cc.tar.gz
r18228@catbus: nickm | 2008-02-19 18:05:53 -0500
Chris Palmer notes that almost nobody is using smartlist_set_capacity(). Chris Palmer is right. Remove this basically pointless function. svn:r13596
Diffstat (limited to 'src/common/container.h')
-rw-r--r--src/common/container.h1
1 files changed, 0 insertions, 1 deletions
diff --git a/src/common/container.h b/src/common/container.h
index 7560ad48c..4622c934b 100644
--- a/src/common/container.h
+++ b/src/common/container.h
@@ -29,7 +29,6 @@ typedef struct smartlist_t {
smartlist_t *smartlist_create(void);
void smartlist_free(smartlist_t *sl);
-void smartlist_set_capacity(smartlist_t *sl, int n);
void smartlist_clear(smartlist_t *sl);
void smartlist_add(smartlist_t *sl, void *element);
void smartlist_add_all(smartlist_t *sl, const smartlist_t *s2);