*
*/
-static struct mark *next_mark(struct doc *d, struct mark *m)
+static struct mark *next_mark(struct mark *m)
{
if (m->all.next == NULL)
return NULL;
wint_t ret;
struct mark *m2 = NULL;
- while ((m2 = next_mark(d, m)) != NULL &&
+ while ((m2 = next_mark(m)) != NULL &&
mark_same(d, m, m2))
mark_forward_over(m, m2);
return ret;
/* FIXME do I need to do this - is it precise enough? */
- while ((m2 = next_mark(d, m)) != NULL &&
+ while ((m2 = next_mark(m)) != NULL &&
mark_same(d, m, m2))
mark_forward_over(m, m2);
return ret;