]> git.ipfire.org Git - thirdparty/freeswitch.git/commitdiff
Tue Feb 24 09:03:08 CST 2009 Pekka Pessi <first.last@nokia.com>
authorMichael Jerris <mike@jerris.com>
Wed, 25 Feb 2009 19:35:59 +0000 (19:35 +0000)
committerMichael Jerris <mike@jerris.com>
Wed, 25 Feb 2009 19:35:59 +0000 (19:35 +0000)
  * sofia-sip/heap.h: use static scope for functions given to sort()
  Ignore-this: 72e91b9470ccc23300ce06eb836d56f4

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

libs/sofia-sip/.update
libs/sofia-sip/libsofia-sip-ua/su/sofia-sip/heap.h

index 9adaa23872695551cbb1fccca9774b91980247e9..582bb3c23b8f7f7fb47bf76d600f7a2d5ea0e92c 100644 (file)
@@ -1 +1 @@
-Wed Feb 25 13:31:50 CST 2009
+Wed Feb 25 13:35:46 CST 2009
index 25142795a731c4288ac3c0680ca7e84a1065b559..2b51f90c4e500b6a4b5f7b474fdfc92372155194 100644 (file)
@@ -310,11 +310,11 @@ size_t prefix##used(heaptype const h) \
   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); \