From bab08a9491c3c302023a6681f6a0a0bca180f68d Mon Sep 17 00:00:00 2001 From: Nicholas Marriott Date: Tue, 21 Jul 2009 18:52:04 +0000 Subject: Nix a few unused attributes on arguments which are no longer unused. --- usr.bin/tmux/client-msg.c | 8 ++++---- usr.bin/tmux/cmd-confirm-before.c | 4 ++-- 2 files changed, 6 insertions(+), 6 deletions(-) (limited to 'usr.bin') 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 @@ -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 @@ -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; -- cgit v1.2.3