From 498f3e8abb59742720e8ff01b3018802651be430 Mon Sep 17 00:00:00 2001 From: Benjamin Franzke Date: Fri, 23 Sep 2011 15:15:47 +0200 Subject: Add prefix cmumble_ to struct context and struct user --- src/io.c | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) (limited to 'src/io.c') diff --git a/src/io.c b/src/io.c index 33d1232..7c69447 100644 --- a/src/io.c +++ b/src/io.c @@ -22,7 +22,7 @@ static gpointer global_rl_user_data = NULL; static gboolean read_cb(GIOChannel *source, GIOCondition condition, gpointer data) { - struct context *ctx = data; + struct cmumble_context *ctx = data; if (condition & G_IO_IN) { global_rl_user_data = ctx; @@ -65,7 +65,7 @@ print_preserve_prompt(const gchar *string) static void process_line(char *line) { - struct context *ctx = global_rl_user_data; + struct cmumble_context *ctx = global_rl_user_data; int i; g_assert(global_rl_user_data); @@ -95,7 +95,7 @@ process_line(char *line) } int -cmumble_io_init(struct context *ctx) +cmumble_io_init(struct cmumble_context *ctx) { struct termios term; @@ -126,7 +126,7 @@ cmumble_io_init(struct context *ctx) } int -cmumble_io_fini(struct context *ctx) +cmumble_io_fini(struct cmumble_context *ctx) { rl_callback_handler_remove(); g_io_channel_unref(ctx->io.input_channel); -- cgit