summaryrefslogtreecommitdiff
path: root/usr.bin/tmux/input.c
diff options
context:
space:
mode:
Diffstat (limited to 'usr.bin/tmux/input.c')
-rw-r--r--usr.bin/tmux/input.c8
1 files changed, 3 insertions, 5 deletions
diff --git a/usr.bin/tmux/input.c b/usr.bin/tmux/input.c
index 71f9721fc57..38dc7ea4ab6 100644
--- a/usr.bin/tmux/input.c
+++ b/usr.bin/tmux/input.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: input.c,v 1.9 2009/07/13 10:43:52 nicm Exp $ */
+/* $OpenBSD: input.c,v 1.10 2009/07/21 19:54:22 nicm Exp $ */
/*
* Copyright (c) 2007 Nicholas Marriott <nicm@users.sourceforge.net>
@@ -35,7 +35,7 @@
#define INPUT_SPECIAL(ch) (ch == 0xff)
int input_get_argument(struct input_ctx *, u_int, uint16_t *, uint16_t);
-int input_new_argument(struct input_ctx *);
+void input_new_argument(struct input_ctx *);
int input_add_argument(struct input_ctx *, u_char);
void input_start_string(struct input_ctx *, int);
@@ -123,7 +123,7 @@ input_sequence_cmp(const void *a, const void *b)
return (ai - bi);
}
-int
+void
input_new_argument(struct input_ctx *ictx)
{
struct input_arg *arg;
@@ -132,8 +132,6 @@ input_new_argument(struct input_ctx *ictx)
arg = &ARRAY_LAST(&ictx->args);
arg->used = 0;
-
- return (0);
}
int