diff options
Diffstat (limited to 'eglib')
-rw-r--r-- | eglib/gmain.c | 3 | ||||
-rw-r--r-- | eglib/gmain.h | 7 |
2 files changed, 6 insertions, 4 deletions
diff --git a/eglib/gmain.c b/eglib/gmain.c index 037bdd26..6bb13022 100644 --- a/eglib/gmain.c +++ b/eglib/gmain.c @@ -63,7 +63,8 @@ struct _GMainLoop { GMainContext *context; }; -GIOError g_io_channel_read(GIOChannel *channel, gchar *buf, gsize count, gsize *bytes_read) +GIOError g_io_channel_read(GIOChannel *channel, gchar *buf, gsize count, + gsize *bytes_read) { int fd = channel->fd; gssize result; diff --git a/eglib/gmain.h b/eglib/gmain.h index 175872d9..0546421d 100644 --- a/eglib/gmain.h +++ b/eglib/gmain.h @@ -82,13 +82,14 @@ typedef enum { #define G_PRIORITY_LOW 300 typedef void (*GDestroyNotify) (gpointer data); -typedef gboolean (*GIOFunc) (GIOChannel *source, GIOCondition condition, gpointer data); +typedef gboolean (*GIOFunc) (GIOChannel *source, GIOCondition condition, + gpointer data); -GIOError g_io_channel_read(GIOChannel *channel, gchar *buf, gsize count, gsize *bytes_read); +GIOError g_io_channel_read(GIOChannel *channel, gchar *buf, gsize count, + gsize *bytes_read); GIOError g_io_channel_write(GIOChannel *channel, const gchar *buf, gsize count, gsize *bytes_written); - void g_io_channel_close(GIOChannel *channel); GIOChannel *g_io_channel_unix_new(int fd); |