summaryrefslogtreecommitdiffstats
path: root/screen-write.c
diff options
context:
space:
mode:
authorNicholas Marriott <nicholas.marriott@gmail.com>2009-01-09 23:57:42 +0000
committerNicholas Marriott <nicholas.marriott@gmail.com>2009-01-09 23:57:42 +0000
commit3ed5aa3e72bf0e720f1ea35159a1d15b1f02e0ff (patch)
treed6d9dc50461b010cd9da225afacf9d4081d29bc6 /screen-write.c
parente13445875451d66fcc8b0d8b4995321560d03b80 (diff)
Build array of codes, stop using ncurses global variables and push ncurses crap into tty-term.c.
Diffstat (limited to 'screen-write.c')
-rw-r--r--screen-write.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/screen-write.c b/screen-write.c
index a84141ec..7c2fda4d 100644
--- a/screen-write.c
+++ b/screen-write.c
@@ -1,4 +1,4 @@
-/* $Id: screen-write.c,v 1.21 2009-01-08 21:55:12 nicm Exp $ */
+/* $Id: screen-write.c,v 1.22 2009-01-09 23:57:42 nicm Exp $ */
/*
* Copyright (c) 2007 Nicholas Marriott <nicm@users.sourceforge.net>
@@ -52,7 +52,7 @@ screen_write_start_session(struct screen_write_ctx *ctx, struct session *s)
/* Initialise writing. */
void
screen_write_start(struct screen_write_ctx *ctx,
- struct screen *s, void (*write)(void *, int, ...), void *data)
+ struct screen *s, void (*write)(void *, enum tty_cmd, ...), void *data)
{
ctx->write = write;
ctx->data = data;