diff options
author | Nick Mathewson <nickm@torproject.org> | 2005-11-30 06:27:59 +0000 |
---|---|---|
committer | Nick Mathewson <nickm@torproject.org> | 2005-11-30 06:27:59 +0000 |
commit | 9cec3a13f510f09f328f824796676f24a99ccf35 (patch) | |
tree | 399bc151d8add56eefb4477e5cb384a848dda850 /src/common/container.c | |
parent | a6eb8cd2a0a206c7cc975751044723e4bcc60b7b (diff) | |
download | tor-9cec3a13f510f09f328f824796676f24a99ccf35.tar.gz tor-9cec3a13f510f09f328f824796676f24a99ccf35.zip |
remove some functions that are not used; #if0 out some files that are not likely to be used.
svn:r5471
Diffstat (limited to 'src/common/container.c')
-rw-r--r-- | src/common/container.c | 11 |
1 files changed, 0 insertions, 11 deletions
diff --git a/src/common/container.c b/src/common/container.c index 09951bae4d..6053f37ae1 100644 --- a/src/common/container.c +++ b/src/common/container.c @@ -77,17 +77,6 @@ smartlist_clear(smartlist_t *sl) sl->num_used = 0; } -/** Set the list's new length to <b>len</b> (which must be \<= the list's - * current size). Remove the last smartlist_len(sl)-len elements from the - * list. - */ -void -smartlist_truncate(smartlist_t *sl, int len) -{ - tor_assert(len <= sl->num_used); - sl->num_used = len; -} - /** Append element to the end of the list. */ void smartlist_add(smartlist_t *sl, void *element) |