diff options
author | Nicholas Marriott <nicm@cvs.openbsd.org> | 2009-07-21 18:52:04 +0000 |
---|---|---|
committer | Nicholas Marriott <nicm@cvs.openbsd.org> | 2009-07-21 18:52:04 +0000 |
commit | bab08a9491c3c302023a6681f6a0a0bca180f68d (patch) | |
tree | f9efbcbbdb8ac8c46ef3d156eaa0dcb0af2c1662 /usr.bin/tmux | |
parent | 769050f4a3562df076745618f0336143a8d143bb (diff) |
Nix a few unused attributes on arguments which are no longer unused.
Diffstat (limited to 'usr.bin/tmux')
-rw-r--r-- | usr.bin/tmux/client-msg.c | 8 | ||||
-rw-r--r-- | usr.bin/tmux/cmd-confirm-before.c | 4 |
2 files changed, 6 insertions, 6 deletions
diff --git a/usr.bin/tmux/client-msg.c b/usr.bin/tmux/client-msg.c index f516c660ffb..ed08410e3fb 100644 --- a/usr.bin/tmux/client-msg.c +++ b/usr.bin/tmux/client-msg.c @@ -1,4 +1,4 @@ -/* $OpenBSD: client-msg.c,v 1.2 2009/06/02 11:17:03 ray Exp $ */ +/* $OpenBSD: client-msg.c,v 1.3 2009/07/21 18:52:03 nicm Exp $ */ /* * Copyright (c) 2007 Nicholas Marriott <nicm@users.sourceforge.net> @@ -85,7 +85,7 @@ client_msg_fn_error(struct hdr *hdr, struct client_ctx *cctx, char **error) int client_msg_fn_detach( - struct hdr *hdr, unused struct client_ctx *cctx, unused char **error) + struct hdr *hdr, struct client_ctx *cctx, unused char **error) { if (hdr->size != 0) fatalx("bad MSG_DETACH size"); @@ -98,7 +98,7 @@ client_msg_fn_detach( int client_msg_fn_shutdown( - struct hdr *hdr, unused struct client_ctx *cctx, unused char **error) + struct hdr *hdr, struct client_ctx *cctx, unused char **error) { if (hdr->size != 0) fatalx("bad MSG_SHUTDOWN size"); @@ -111,7 +111,7 @@ client_msg_fn_shutdown( int client_msg_fn_exit( - struct hdr *hdr, unused struct client_ctx *cctx, unused char **error) + struct hdr *hdr, struct client_ctx *cctx, unused char **error) { if (hdr->size != 0) fatalx("bad MSG_EXIT size"); diff --git a/usr.bin/tmux/cmd-confirm-before.c b/usr.bin/tmux/cmd-confirm-before.c index 9f044b653e5..4fe70270bb6 100644 --- a/usr.bin/tmux/cmd-confirm-before.c +++ b/usr.bin/tmux/cmd-confirm-before.c @@ -1,4 +1,4 @@ -/* $OpenBSD: cmd-confirm-before.c,v 1.4 2009/07/17 06:13:27 nicm Exp $ */ +/* $OpenBSD: cmd-confirm-before.c,v 1.5 2009/07/21 18:52:03 nicm Exp $ */ /* * Copyright (c) 2009 Tiago Cunha <me@tiagocunha.org> @@ -68,7 +68,7 @@ cmd_confirm_before_init(struct cmd *self, int key) } int -cmd_confirm_before_exec(unused struct cmd *self, struct cmd_ctx *ctx) +cmd_confirm_before_exec(struct cmd *self, struct cmd_ctx *ctx) { struct cmd_target_data *data = self->data; struct cmd_confirm_before_data *cdata; |