diff options
author | Nick Mathewson <nickm@torproject.org> | 2004-03-30 22:59:00 +0000 |
---|---|---|
committer | Nick Mathewson <nickm@torproject.org> | 2004-03-30 22:59:00 +0000 |
commit | 93ab51e9ac6173d3aebde2df1393ee2ee7f6a28e (patch) | |
tree | 7fc72f4ce789e840f04b8632d5b5799b31cb26b5 /src/common/util.h | |
parent | 2d3ac08633a47617c1244caab8b41f73604e0d48 (diff) | |
download | tor-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.h | 4 |
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); |