about summary refs log tree commit diff stats
path: root/src/chat_session.c
diff options
context:
space:
mode:
authorJames Booth <boothj5@gmail.com>2013-01-12 19:51:32 +0000
committerJames Booth <boothj5@gmail.com>2013-01-12 19:51:32 +0000
commit306f00d3e897d83d475a1f7c34f31d0790844325 (patch)
tree722577f61851be2a2abab186722af820fc02fe74 /src/chat_session.c
parentd7b969b1354ed69b4080b5258130ac61d0714d67 (diff)
downloadprofani-tty-306f00d3e897d83d475a1f7c34f31d0790844325.tar.gz
Moved ChatSession typedef
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)
 {