[or-cvs] make it compile

Roger Dingledine arma at seul.org
Sun Dec 14 05:00:11 UTC 2003


Update of /home/or/cvsroot/src/common
In directory moria.mit.edu:/home2/arma/work/onion/cvs/src/common

Modified Files:
	util.c util.h 
Log Message:
make it compile


Index: util.c
===================================================================
RCS file: /home/or/cvsroot/src/common/util.c,v
retrieving revision 1.48
retrieving revision 1.49
diff -u -d -r1.48 -r1.49
--- util.c	14 Dec 2003 04:57:47 -0000	1.48
+++ util.c	14 Dec 2003 05:00:09 -0000	1.49
@@ -130,7 +130,7 @@
 }
 
 /* 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]);

Index: util.h
===================================================================
RCS file: /home/or/cvsroot/src/common/util.h,v
retrieving revision 1.27
retrieving revision 1.28
diff -u -d -r1.27 -r1.28
--- util.h	14 Dec 2003 04:57:47 -0000	1.27
+++ util.h	14 Dec 2003 05:00:09 -0000	1.28
@@ -52,7 +52,7 @@
 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);



More information about the tor-commits mailing list