|
|
345b12 |
diff -ru libvisual-0.4.0.orig/libvisual/lv_cache.c libvisual-0.4.0/libvisual/lv_cache.c
|
|
|
345b12 |
--- libvisual-0.4.0.orig/libvisual/lv_cache.c 2009-03-07 17:17:38.000000000 +0000
|
|
|
345b12 |
+++ libvisual-0.4.0/libvisual/lv_cache.c 2009-03-07 17:25:26.000000000 +0000
|
|
|
345b12 |
@@ -32,7 +32,7 @@
|
|
|
345b12 |
static int cache_dtor (VisObject *object);
|
|
|
345b12 |
static int cache_remove_list_entry (VisCache *cache, VisListEntry **le);
|
|
|
345b12 |
|
|
|
345b12 |
-static inline void handle_request_reset (VisCache *cache, VisListEntry *le);
|
|
|
345b12 |
+static lv_inline void handle_request_reset (VisCache *cache, VisListEntry *le);
|
|
|
345b12 |
|
|
|
345b12 |
static int cache_dtor (VisObject *object)
|
|
|
345b12 |
{
|
|
|
345b12 |
@@ -74,7 +74,7 @@
|
|
|
345b12 |
}
|
|
|
345b12 |
|
|
|
345b12 |
|
|
|
345b12 |
-static inline void handle_request_reset (VisCache *cache, VisListEntry *le)
|
|
|
345b12 |
+static lv_inline void handle_request_reset (VisCache *cache, VisListEntry *le)
|
|
|
345b12 |
{
|
|
|
345b12 |
VisCacheEntry *centry;
|
|
|
345b12 |
|
|
|
345b12 |
diff -ru libvisual-0.4.0.orig/libvisual/lv_defines.h libvisual-0.4.0/libvisual/lv_defines.h
|
|
|
345b12 |
--- libvisual-0.4.0.orig/libvisual/lv_defines.h 2009-03-07 17:17:38.000000000 +0000
|
|
|
345b12 |
+++ libvisual-0.4.0/libvisual/lv_defines.h 2009-03-07 17:24:17.000000000 +0000
|
|
|
345b12 |
@@ -63,13 +63,13 @@
|
|
|
345b12 |
|
|
|
345b12 |
/* Compiler specific optimalization macros */
|
|
|
345b12 |
#if __GNUC__ >= 3
|
|
|
345b12 |
-# define inline inline __attribute__ ((always_inline))
|
|
|
345b12 |
+# define lv_inline inline __attribute__ ((always_inline))
|
|
|
345b12 |
# define __malloc __attribute__ ((malloc))
|
|
|
345b12 |
# define __packed __attribute__ ((packed))
|
|
|
345b12 |
# define VIS_LIKELY(x) __builtin_expect (!!(x), 1)
|
|
|
345b12 |
# define VIS_UNLIKELY(x) __builtin_expect (!!(x), 0)
|
|
|
345b12 |
#else
|
|
|
345b12 |
-# define inline /* no inline */
|
|
|
345b12 |
+# define lv_inline /* no inline */
|
|
|
345b12 |
# define __malloc /* no malloc */
|
|
|
345b12 |
# define __packed /* no packed */
|
|
|
345b12 |
# define VIS_LIKELY(x) (x)
|
|
|
345b12 |
diff -ru libvisual-0.4.0.orig/libvisual/lv_time.h libvisual-0.4.0/libvisual/lv_time.h
|
|
|
345b12 |
--- libvisual-0.4.0.orig/libvisual/lv_time.h 2009-03-07 17:17:38.000000000 +0000
|
|
|
345b12 |
+++ libvisual-0.4.0/libvisual/lv_time.h 2009-03-07 17:25:15.000000000 +0000
|
|
|
345b12 |
@@ -101,7 +101,7 @@
|
|
|
345b12 |
*
|
|
|
345b12 |
* @return Nothing.
|
|
|
345b12 |
*/
|
|
|
345b12 |
-static inline void visual_timer_tsc_get (uint32_t *lo, uint32_t *hi)
|
|
|
345b12 |
+static lv_inline void visual_timer_tsc_get (uint32_t *lo, uint32_t *hi)
|
|
|
345b12 |
{
|
|
|
345b12 |
#if defined(VISUAL_ARCH_X86) || defined(VISUAL_ARCH_X86_64)
|
|
|
345b12 |
__asm __volatile
|
|
|
345b12 |
@@ -115,7 +115,7 @@
|
|
|
345b12 |
}
|
|
|
345b12 |
|
|
|
345b12 |
/* FIXME use uint64_t here, make sure type exists */
|
|
|
345b12 |
-static inline unsigned long long visual_timer_tsc_get_returned ()
|
|
|
345b12 |
+static lv_inline unsigned long long visual_timer_tsc_get_returned ()
|
|
|
345b12 |
{
|
|
|
345b12 |
uint32_t lo, hi;
|
|
|
345b12 |
|