]> git.ipfire.org Git - thirdparty/freeswitch.git/commitdiff
Fri Jun 26 01:50:56 CDT 2009 kai.k.samposalo@nokia.com
authorMichael Jerris <mike@jerris.com>
Fri, 10 Jul 2009 00:51:27 +0000 (00:51 +0000)
committerMichael Jerris <mike@jerris.com>
Fri, 10 Jul 2009 00:51:27 +0000 (00:51 +0000)
  * Symbian build fix

git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@14190 d0543943-73ff-0310-b7d9-9358b9ac24b2

libs/sofia-sip/.update
libs/sofia-sip/libsofia-sip-ua-glib/su-glib/su_source.c
libs/sofia-sip/libsofia-sip-ua/sresolv/sres_cache.c
libs/sofia-sip/libsofia-sip-ua/su/smoothsort.c
libs/sofia-sip/open_c/group/libsofia-sip-ua.mmp

index ac2e1c062f92c9d6237bc19c169db438c90e0009..fbe0fb16c84819e7edc0ef71f47338129f3200e7 100644 (file)
@@ -1 +1 @@
-Thu Jul  9 19:48:36 CDT 2009
+Thu Jul  9 19:49:43 CDT 2009
index f14df28b984d4ca5ac6bd12ce3fd17110ccfa8cc..561e2f7454b2095f1db7b59fb6486a8fbac94ca6 100644 (file)
@@ -421,19 +421,20 @@ gboolean su_source_check(GSource *gs)
   SuSource *ss = (SuSource *)gs;
   su_port_t *self = ss->ss_port;
   gint tout;
-  unsigned i, I;
+  unsigned I;
 
   enter;
 
   I = self->sup_n_waits;
 
 #if SU_HAVE_POLL
+  unsigned i;
   for (i = 0; i < I; i++) {
     if (self->sup_waits[i].revents)
       return TRUE;
   }
 #endif
-
+  (void)I;
   return su_source_prepare(gs, &tout);
 }
 
index 1f16588e0a228794f5a5fbf818238aaa81dd18fd..be07d61c7db0d692665cfd2f05f7b03ec3e89c7b 100644 (file)
@@ -223,8 +223,12 @@ sres_cache_get0(sres_htable_t *htable,
 
   if (cname && dcount == derrorcount) {
     /* Nothing found, trace CNAMEs */
-    struct frame *f, frame = { previous, domain };
-    unsigned hash = sres_hash_key(domain = cname->cn_cname);
+    unsigned hash;
+    struct frame *f, frame;
+    frame.previous = previous;
+    frame.domain = domain;
+
+    hash = sres_hash_key(domain = cname->cn_cname);
 
     /* Check for cname loops */
     for (f = previous; f; f = f->previous) {
index 1ef31a7e8c5cce54b6aa945f83878c1ce8d8278e..88032613123a44150d24176d653a2e9b199fb7b6 100644 (file)
@@ -34,7 +34,8 @@
  *
  * @author Pekka Pessi <Pekka.Pessi@nokia.com>
  */
-
+#include <stdlib.h>
+#include <sofia-sip/su_config.h>
 #include "config.h"
 
 #include <sofia-sip/heap.h>
@@ -219,7 +220,11 @@ void su_smoothsort(void *base, size_t r, size_t N,
   stretch s = { 1, 1, 1 };
   size_t q;
 
-  array const array[1] = {{ base, less, swap }};
+  array array_i;
+  array* const array = &array_i;
+  array->less = less;
+  array->swap = swap;
+  array->m = base;
 
   assert(less && swap);
 
index 5b6f0742503f23d9e36f7eea21c843e69df6de47..8a0e2051c31e52e8368ffdafa969b9a1cbcf87db 100644 (file)
@@ -68,6 +68,9 @@ SOURCE          strtoull.c
 SOURCE          su_string.c\r
 SOURCE          getopt.c\r
 SOURCE          poll.c\r
+SOURCE          smoothsort.c\r
+SOURCE          su_kqueue_port.c\r
+SOURCE          su_devpoll_port.c\r
 \r
 SOURCEPATH                     ..\..\libsofia-sip-ua\bnf\r
 \r
@@ -286,7 +289,6 @@ SYSTEMINCLUDE   \epoc32\include\stdapis
 SYSTEMINCLUDE   \epoc32\include\stdapis\openssl\r
 SYSTEMINCLUDE   \epoc32\include\osextensions\r
 SYSTEMINCLUDE   \epoc32\include\osextensions\sofia-sip\r
-SYSTEMINCLUDE   \epoc32\include\stdapis\stlport\r
 \r
 // Library dependencies\r
 \r