about summary refs log tree commit diff stats
path: root/src/chat_session.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/chat_session.c')
-rw-r--r--src/chat_session.c5
1 files changed, 4 insertions, 1 deletions
diff --git a/src/chat_session.c b/src/chat_session.c
index 73021187..cd22e79e 100644
--- a/src/chat_session.c
+++ b/src/chat_session.c
@@ -32,7 +32,6 @@
 #define PAUSED_TIMOUT 10.0
 #define INACTIVE_TIMOUT 30.0
 
-static void _chat_session_free(ChatSession session);
 
 typedef enum {
     CHAT_STATE_STARTED,
@@ -51,8 +50,12 @@ struct chat_session_t {
     gboolean sent;
 };
 
+typedef struct chat_session_t *ChatSession;
+
 static GHashTable *sessions;
 
+static void _chat_session_free(ChatSession session);
+
 void
 chat_sessions_init(void)
 {