From 9e656b924b16b88dbd4997538a5dce885505980f Mon Sep 17 00:00:00 2001 From: Benjamin Franzke Date: Fri, 6 May 2016 19:19:29 +0200 Subject: io.c: Rename read_cb to stdin_callback ..to be more understandable --- src/io.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/io.c b/src/io.c index 379e48f..e36bc30 100644 --- a/src/io.c +++ b/src/io.c @@ -21,7 +21,7 @@ static gpointer global_rl_user_data = NULL; static gboolean -read_cb(GIOChannel *source, GIOCondition condition, gpointer data) +stdin_callback(GIOChannel *source, GIOCondition condition, gpointer data) { struct cmumble *cm = data; @@ -194,7 +194,7 @@ cmumble_io_init(struct cmumble *cm) cm->io.input_channel = g_io_channel_unix_new(STDIN_FILENO); g_io_add_watch(cm->io.input_channel, G_IO_IN | G_IO_HUP, - read_cb, cm); + stdin_callback, cm); if (tcgetattr(STDIN_FILENO, &term) < 0) { g_printerr("tcgetattr failed"); -- cgit