[Freeswitch-svn] [commit] r12282 - in freeswitch/trunk/libs/sofia-sip: . libsofia-sip-ua/su/sofia-sip

FreeSWITCH SVN mikej at freeswitch.org
Wed Feb 25 11:35:59 PST 2009


Author: mikej
Date: Wed Feb 25 13:35:59 2009
New Revision: 12282

Log:
Tue Feb 24 09:03:08 CST 2009  Pekka Pessi <first.last at nokia.com>
  * sofia-sip/heap.h: use static scope for functions given to sort()
  Ignore-this: 72e91b9470ccc23300ce06eb836d56f4



Modified:
   freeswitch/trunk/libs/sofia-sip/.update
   freeswitch/trunk/libs/sofia-sip/libsofia-sip-ua/su/sofia-sip/heap.h

Modified: freeswitch/trunk/libs/sofia-sip/.update
==============================================================================
--- freeswitch/trunk/libs/sofia-sip/.update	(original)
+++ freeswitch/trunk/libs/sofia-sip/.update	Wed Feb 25 13:35:59 2009
@@ -1 +1 @@
-Wed Feb 25 13:31:50 CST 2009
+Wed Feb 25 13:35:46 CST 2009

Modified: freeswitch/trunk/libs/sofia-sip/libsofia-sip-ua/su/sofia-sip/heap.h
==============================================================================
--- freeswitch/trunk/libs/sofia-sip/libsofia-sip-ua/su/sofia-sip/heap.h	(original)
+++ freeswitch/trunk/libs/sofia-sip/libsofia-sip-ua/su/sofia-sip/heap.h	Wed Feb 25 13:35:59 2009
@@ -310,11 +310,11 @@
   struct prefix##priv *_priv = *(void **)&h; \
   return _priv ? _priv->_used : 0; \
 } \
-scope int prefix##_less(void *h, size_t a, size_t b) \
+static int prefix##_less(void *h, size_t a, size_t b) \
 { \
   type *_heap = h; return less(_heap[a], _heap[b]);	\
 } \
-scope void prefix##_swap(void *h, size_t a, size_t b) \
+static void prefix##_swap(void *h, size_t a, size_t b) \
 { \
   type *_heap = h; type _swap = _heap[a]; \
   set(_heap, a, _heap[b]); set(_heap, b, _swap); \



More information about the Freeswitch-svn mailing list