diff options
author | Roger Dingledine <arma@torproject.org> | 2003-12-14 05:00:09 +0000 |
---|---|---|
committer | Roger Dingledine <arma@torproject.org> | 2003-12-14 05:00:09 +0000 |
commit | 3465c4dee45e251083da12bedce9023817c5f4ec (patch) | |
tree | 25a62ccce22b54b3814ba242839f605e92c7720d /src | |
parent | f4cb5d8c93d13976bdcdf9dbefc0f6e85b85212a (diff) | |
download | tor-3465c4dee45e251083da12bedce9023817c5f4ec.tar.gz tor-3465c4dee45e251083da12bedce9023817c5f4ec.zip |
make it compile
svn:r923
Diffstat (limited to 'src')
-rw-r--r-- | src/common/util.c | 2 | ||||
-rw-r--r-- | src/common/util.h | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/src/common/util.c b/src/common/util.c index a70f191700..623ec05bad 100644 --- a/src/common/util.c +++ b/src/common/util.c @@ -130,7 +130,7 @@ void smartlist_intersect(smartlist_t *sl1, smartlist_t *sl2) { } /* remove all elements of sl2 from sl1 */ -void smartlist_subtract(smartlist_t *sl1, smartlist *sl2) { +void smartlist_subtract(smartlist_t *sl1, smartlist_t *sl2) { int i; for(i=0; i < sl2->num_used; i++) smartlist_remove(sl1, sl2->list[i]); diff --git a/src/common/util.h b/src/common/util.h index bfba0f131d..955e3c7e34 100644 --- a/src/common/util.h +++ b/src/common/util.h @@ -52,7 +52,7 @@ void smartlist_remove(smartlist_t *sl, void *element); int smartlist_isin(smartlist_t *sl, void *element); int smartlist_overlap(smartlist_t *sl1, smartlist_t *sl2); void smartlist_intersect(smartlist_t *sl1, smartlist_t *sl2); -void smartlist_subtract(smartlist_t *sl1, smartlist *sl2); +void smartlist_subtract(smartlist_t *sl1, smartlist_t *sl2); void *smartlist_choose(smartlist_t *sl); const char *eat_whitespace(const char *s); |