[Freeswitch-svn] [commit] r11760 - freeswitch/trunk/libs/sofia-sip/libsofia-sip-ua/su/sofia-sip
FreeSWITCH SVN
mikej at freeswitch.org
Wed Feb 11 07:56:04 PST 2009
Author: mikej
Date: Wed Feb 11 09:56:04 2009
New Revision: 11760
Log:
Mon Dec 15 10:33:40 CST 2008 Pekka Pessi <first.last at nokia.com>
* sofia-sip/heap.h: added protype for su_smoothsort()
Modified:
freeswitch/trunk/libs/sofia-sip/libsofia-sip-ua/su/sofia-sip/heap.h
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 11 09:56:04 2009
@@ -319,9 +319,6 @@
type *_heap = h; type _swap = _heap[a]; \
set(_heap, a, _heap[b]); set(_heap, b, _swap); \
} \
-void su_smoothsort(void *base, size_t r0, size_t N, \
- int (*less)(void *base, size_t a, size_t b), \
- void (*swap)(void *base, size_t a, size_t b)); \
scope void prefix##sort(heaptype h) \
{ \
struct prefix##priv { size_t _size, _used; type _heap[1];}; \
@@ -331,4 +328,14 @@
} \
extern int const prefix##dummy_heap
+#include <sofia-sip/su_types.h>
+
+SOFIA_BEGIN_DECLS
+
+SOFIAPUBFUN void su_smoothsort(void *base, size_t r0, size_t N,
+ int (*less)(void *base, size_t a, size_t b),
+ void (*swap)(void *base, size_t a, size_t b));
+
+SOFIA_END_DECLS
+
#endif /** !defined(SOFIA_SIP_HEAP_H) */
More information about the Freeswitch-svn
mailing list