Skip to content
Snippets Groups Projects
Commit 3465c4de authored by Roger Dingledine's avatar Roger Dingledine
Browse files

make it compile

svn:r923
parent f4cb5d8c
No related branches found
No related tags found
No related merge requests found
......@@ -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]);
......
......@@ -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);
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment