aboutsummaryrefslogtreecommitdiffstats
path: root/src/client.c
diff options
context:
space:
mode:
authorAvuton Olrich <avuton@gmail.com>2009-03-29 10:58:30 -0700
committerMax Kellermann <max@duempel.org>2009-03-30 19:21:42 +0200
commit98e81287e3f1d73e89697e1c65a1f0aaee5d7785 (patch)
treee940c61e299f2aab95a01875169fe97fa3f42512 /src/client.c
parentee7369a8f167c1869498a0c75b96a609e484ff8c (diff)
downloadmpd-98e81287e3f1d73e89697e1c65a1f0aaee5d7785.tar.gz
mpd-98e81287e3f1d73e89697e1c65a1f0aaee5d7785.tar.xz
mpd-98e81287e3f1d73e89697e1c65a1f0aaee5d7785.zip
client: group static function declarations together.
Diffstat (limited to '')
-rw-r--r--src/client.c11
1 files changed, 5 insertions, 6 deletions
diff --git a/src/client.c b/src/client.c
index 369390ba0..bb204412b 100644
--- a/src/client.c
+++ b/src/client.c
@@ -113,6 +113,11 @@ static void client_write_deferred(struct client *client);
static void client_write_output(struct client *client);
+static void client_manager_expire(void);
+
+static gboolean
+client_in_event(GIOChannel *source, GIOCondition condition, gpointer data);
+
bool client_is_expired(const struct client *client)
{
return client->channel == NULL;
@@ -133,9 +138,6 @@ void client_set_permission(struct client *client, unsigned permission)
client->permission = permission;
}
-static void
-client_manager_expire(void);
-
/**
* An idle event which calls client_manager_expire().
*/
@@ -165,9 +167,6 @@ static inline void client_set_expired(struct client *client)
}
}
-static gboolean
-client_in_event(GIOChannel *source, GIOCondition condition, gpointer data);
-
static void client_init(struct client *client, int fd)
{
static unsigned int next_client_num;