summaryrefslogtreecommitdiff
path: root/src/common/util.h
diff options
context:
space:
mode:
authorNick Mathewson <nickm@torproject.org>2004-03-30 22:59:00 +0000
committerNick Mathewson <nickm@torproject.org>2004-03-30 22:59:00 +0000
commit93ab51e9ac6173d3aebde2df1393ee2ee7f6a28e (patch)
tree7fc72f4ce789e840f04b8632d5b5799b31cb26b5 /src/common/util.h
parent2d3ac08633a47617c1244caab8b41f73604e0d48 (diff)
downloadtor-93ab51e9ac6173d3aebde2df1393ee2ee7f6a28e.tar.gz
tor-93ab51e9ac6173d3aebde2df1393ee2ee7f6a28e.zip
Make smartlist Do What Arma Expects.
svn:r1401
Diffstat (limited to 'src/common/util.h')
-rw-r--r--src/common/util.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/common/util.h b/src/common/util.h
index 9465a8f786..862a657e72 100644
--- a/src/common/util.h
+++ b/src/common/util.h
@@ -64,9 +64,9 @@ typedef struct {
int capacity;
} smartlist_t;
-smartlist_t *smartlist_create(int capacity);
+smartlist_t *smartlist_create();
void smartlist_free(smartlist_t *sl);
-void smartlist_grow_capacity(smartlist_t *sl, int n);
+void smartlist_set_capacity(smartlist_t *sl, int n);
void smartlist_add(smartlist_t *sl, void *element);
void smartlist_remove(smartlist_t *sl, void *element);
int smartlist_isin(smartlist_t *sl, void *element);