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/commands.c | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) (limited to 'src/commands.c') diff --git a/src/commands.c b/src/commands.c index be78a69..656869c 100644 --- a/src/commands.c +++ b/src/commands.c @@ -8,9 +8,9 @@ #include static void -list_users(struct context *ctx) +list_users(struct cmumble_context *ctx) { - struct user *user = NULL; + struct cmumble_user *user = NULL; GList *l; for (l = ctx->users; l; l = l->next) { @@ -21,14 +21,14 @@ list_users(struct context *ctx) } static void -quit(struct context *ctx) +quit(struct cmumble_context *ctx) { rl_already_prompted = 1; g_main_loop_quit(ctx->loop); } static void -clear(struct context *ctx) +clear(struct cmumble_context *ctx) { rl_clear_screen(0,0); rl_reset_line_state(); @@ -36,7 +36,7 @@ clear(struct context *ctx) } static void -help(struct context *ctx) +help(struct cmumble_context *ctx) { int i; @@ -54,7 +54,7 @@ static const struct cmumble_command commands[] = { }; void -cmumble_commands_init(struct context *ctx) +cmumble_commands_init(struct cmumble_context *ctx) { ctx->commands = commands; } -- cgit