From 71ebf79ea885c6beeca5e2e9b3e6a5407c285413 Mon Sep 17 00:00:00 2001 From: Roger Dingledine Date: Sun, 14 Dec 2003 05:00:09 +0000 Subject: [PATCH] make it compile svn:r923 --- trunk/src/common/util.c | 2 +- trunk/src/common/util.h | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/trunk/src/common/util.c b/trunk/src/common/util.c index a70f191700..623ec05bad 100644 --- a/trunk/src/common/util.c +++ b/trunk/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/trunk/src/common/util.h b/trunk/src/common/util.h index bfba0f131d..955e3c7e34 100644 --- a/trunk/src/common/util.h +++ b/trunk/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);