/pidgin/main: 65200382abb9: Backport warning fixes for tcl from ...

Tomasz Wasilczyk twasilczyk at pidgin.im
Tue May 6 09:59:17 EDT 2014


Changeset: 65200382abb9b4134ab705ec57b77db2ea307ead
Author:	 Tomasz Wasilczyk <twasilczyk at pidgin.im>
Date:	 2014-05-06 15:59 +0200
Branch:	 release-2.x.y
URL: https://hg.pidgin.im/pidgin/main/rev/65200382abb9

Description:

Backport warning fixes for tcl from deafult

diffstat:

 libpurple/plugins/tcl/tcl_glib.c |  8 ++++++--
 1 files changed, 6 insertions(+), 2 deletions(-)

diffs (25 lines):

diff --git a/libpurple/plugins/tcl/tcl_glib.c b/libpurple/plugins/tcl/tcl_glib.c
--- a/libpurple/plugins/tcl/tcl_glib.c
+++ b/libpurple/plugins/tcl/tcl_glib.c
@@ -68,6 +68,10 @@
 
 #include "tcl_glib.h"
 
+#ifndef CONST86
+#  define CONST86
+#endif
+
 struct tcl_file_handler {
 	int source;
 	int fd;
@@ -86,8 +90,8 @@ static guint tcl_timer;
 static gboolean tcl_timer_pending;
 static GHashTable *tcl_file_handlers;
 
-static void tcl_set_timer(Tcl_Time *timePtr);
-static int tcl_wait_for_event(Tcl_Time *timePtr);
+static void tcl_set_timer(CONST86 Tcl_Time *timePtr);
+static int tcl_wait_for_event(CONST86 Tcl_Time *timePtr);
 static void tcl_create_file_handler(int fd, int mask, Tcl_FileProc *proc, ClientData data);
 static void tcl_delete_file_handler(int fd);
 



More information about the Commits mailing list