Remove a couple of unused arguments where possible, and add /* ARGSUSED */ to

the rest to reduce lint output.
This commit is contained in:
Nicholas Marriott
2009-11-26 21:37:13 +00:00
parent 621dabd44e
commit 4ca857e0e9
32 changed files with 51 additions and 11 deletions

View File

@ -319,7 +319,7 @@ session_next_activity(struct session *s, struct winlink *wl)
break;
if (session_alert_has(s, wl, WINDOW_CONTENT))
break;
wl = winlink_next(&s->windows, wl);
wl = winlink_next(wl);
}
return (wl);
}
@ -333,7 +333,7 @@ session_next(struct session *s, int activity)
if (s->curw == NULL)
return (-1);
wl = winlink_next(&s->windows, s->curw);
wl = winlink_next(s->curw);
if (activity)
wl = session_next_activity(s, wl);
if (wl == NULL) {
@ -360,7 +360,7 @@ session_previous_activity(struct session *s, struct winlink *wl)
break;
if (session_alert_has(s, wl, WINDOW_CONTENT))
break;
wl = winlink_previous(&s->windows, wl);
wl = winlink_previous(wl);
}
return (wl);
}
@ -374,7 +374,7 @@ session_previous(struct session *s, int activity)
if (s->curw == NULL)
return (-1);
wl = winlink_previous(&s->windows, s->curw);
wl = winlink_previous(s->curw);
if (activity)
wl = session_previous_activity(s, wl);
if (wl == NULL) {