summaryrefslogtreecommitdiff
path: root/src/common/container.h
diff options
context:
space:
mode:
authorRoger Dingledine <arma@torproject.org>2004-11-02 02:28:51 +0000
committerRoger Dingledine <arma@torproject.org>2004-11-02 02:28:51 +0000
commit85c79ffbc7b965355c3b51cc81000d517089e74e (patch)
treeeafeb903a90d64be26fb900f567528caa1916b5b /src/common/container.h
parent1433a0b26fcc1e48ac8001c5438e00d140dbf2a9 (diff)
downloadtor-85c79ffbc7b965355c3b51cc81000d517089e74e.tar.gz
tor-85c79ffbc7b965355c3b51cc81000d517089e74e.zip
canonicalize "src" and "dest" arg order in crypto.c (and others)
svn:r2644
Diffstat (limited to 'src/common/container.h')
-rw-r--r--src/common/container.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/common/container.h b/src/common/container.h
index 7569cb3497..8f8a89f741 100644
--- a/src/common/container.h
+++ b/src/common/container.h
@@ -21,7 +21,7 @@ int smartlist_string_isin(const smartlist_t *sl, const char *element);
int smartlist_overlap(const smartlist_t *sl1, const smartlist_t *sl2);
void smartlist_intersect(smartlist_t *sl1, const smartlist_t *sl2);
void smartlist_subtract(smartlist_t *sl1, const smartlist_t *sl2);
-void *smartlist_choose(const smartlist_t *sl);
+/* smartlist_choose() is defined in crypto.[ch] */
void *smartlist_get(const smartlist_t *sl, int idx);
void *smartlist_set(smartlist_t *sl, int idx, void *val);
void *smartlist_del(smartlist_t *sl, int idx);