diff options
author | Nicholas Marriott <nicm@openbsd.org> | 2009-07-21 18:52:03 +0000 |
---|---|---|
committer | Nicholas Marriott <nicm@openbsd.org> | 2009-07-21 18:52:03 +0000 |
commit | 6945e86fd7540c610f7e58e4a964fed384048823 (patch) | |
tree | ee45188a8dc67fbf2798b880b5cbd4383226c578 | |
parent | 044ebf195237c2c5ea13df5f1f93d61eaacf9d7b (diff) |
Nix a few unused attributes on arguments which are no longer unused.
-rw-r--r-- | client-msg.c | 6 | ||||
-rw-r--r-- | cmd-confirm-before.c | 2 |
2 files changed, 4 insertions, 4 deletions
diff --git a/client-msg.c b/client-msg.c index 2e2a6b49..7d7166ca 100644 --- a/client-msg.c +++ b/client-msg.c @@ -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/cmd-confirm-before.c b/cmd-confirm-before.c index c0fbe130..f1f5bfe1 100644 --- a/cmd-confirm-before.c +++ b/cmd-confirm-before.c @@ -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; |