summaryrefslogtreecommitdiff
path: root/usr.bin/tmux/window.c
diff options
context:
space:
mode:
authorNicholas Marriott <nicm@cvs.openbsd.org>2009-11-26 21:37:14 +0000
committerNicholas Marriott <nicm@cvs.openbsd.org>2009-11-26 21:37:14 +0000
commite74df4cfa4b067f5abc2b65af1d49c951cbf7f05 (patch)
treec78fc50c57f5e5a4503857817ad4ce7b7859ac2f /usr.bin/tmux/window.c
parentf1d883ed899181343afc25b33819d94b452d91ab (diff)
Remove a couple of unused arguments where possible, and add /* ARGSUSED */ to
the rest to reduce lint output.
Diffstat (limited to 'usr.bin/tmux/window.c')
-rw-r--r--usr.bin/tmux/window.c8
1 files changed, 5 insertions, 3 deletions
diff --git a/usr.bin/tmux/window.c b/usr.bin/tmux/window.c
index b41b6a72a42..5eaf9b1ac14 100644
--- a/usr.bin/tmux/window.c
+++ b/usr.bin/tmux/window.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: window.c,v 1.40 2009/11/19 19:47:28 nicm Exp $ */
+/* $OpenBSD: window.c,v 1.41 2009/11/26 21:37:13 nicm Exp $ */
/*
* Copyright (c) 2007 Nicholas Marriott <nicm@users.sourceforge.net>
@@ -161,13 +161,13 @@ winlink_remove(struct winlinks *wwl, struct winlink *wl)
}
struct winlink *
-winlink_next(unused struct winlinks *wwl, struct winlink *wl)
+winlink_next(struct winlink *wl)
{
return (RB_NEXT(winlinks, wwl, wl));
}
struct winlink *
-winlink_previous(unused struct winlinks *wwl, struct winlink *wl)
+winlink_previous(struct winlink *wl)
{
return (RB_PREV(winlinks, wwl, wl));
}
@@ -582,6 +582,7 @@ window_pane_spawn(struct window_pane *wp, const char *cmd, const char *shell,
return (0);
}
+/* ARGSUSED */
void
window_pane_read_callback(unused struct bufferevent *bufev, void *data)
{
@@ -590,6 +591,7 @@ window_pane_read_callback(unused struct bufferevent *bufev, void *data)
window_pane_parse(wp);
}
+/* ARGSUSED */
void
window_pane_error_callback(
unused struct bufferevent *bufev, unused short what, void *data)