1 diff -ru libvisual-0.4.0.orig/libvisual/lv_cache.c libvisual-0.4.0/libvisual/lv_cache.c
2 --- libvisual-0.4.0.orig/libvisual/lv_cache.c 2009-03-07 17:17:38.000000000 +0000
3 +++ libvisual-0.4.0/libvisual/lv_cache.c 2009-03-07 17:25:26.000000000 +0000
5 static int cache_dtor (VisObject *object);
6 static int cache_remove_list_entry (VisCache *cache, VisListEntry **le);
8 -static inline void handle_request_reset (VisCache *cache, VisListEntry *le);
9 +static lv_inline void handle_request_reset (VisCache *cache, VisListEntry *le);
11 static int cache_dtor (VisObject *object)
17 -static inline void handle_request_reset (VisCache *cache, VisListEntry *le)
18 +static lv_inline void handle_request_reset (VisCache *cache, VisListEntry *le)
20 VisCacheEntry *centry;
22 diff -ru libvisual-0.4.0.orig/libvisual/lv_defines.h libvisual-0.4.0/libvisual/lv_defines.h
23 --- libvisual-0.4.0.orig/libvisual/lv_defines.h 2009-03-07 17:17:38.000000000 +0000
24 +++ libvisual-0.4.0/libvisual/lv_defines.h 2009-03-07 17:24:17.000000000 +0000
27 /* Compiler specific optimalization macros */
29 -# define inline inline __attribute__ ((always_inline))
30 +# define lv_inline inline __attribute__ ((always_inline))
31 # define __malloc __attribute__ ((malloc))
32 # define __packed __attribute__ ((packed))
33 # define VIS_LIKELY(x) __builtin_expect (!!(x), 1)
34 # define VIS_UNLIKELY(x) __builtin_expect (!!(x), 0)
36 -# define inline /* no inline */
37 +# define lv_inline /* no inline */
38 # define __malloc /* no malloc */
39 # define __packed /* no packed */
40 # define VIS_LIKELY(x) (x)
41 diff -ru libvisual-0.4.0.orig/libvisual/lv_time.h libvisual-0.4.0/libvisual/lv_time.h
42 --- libvisual-0.4.0.orig/libvisual/lv_time.h 2009-03-07 17:17:38.000000000 +0000
43 +++ libvisual-0.4.0/libvisual/lv_time.h 2009-03-07 17:25:15.000000000 +0000
48 -static inline void visual_timer_tsc_get (uint32_t *lo, uint32_t *hi)
49 +static lv_inline void visual_timer_tsc_get (uint32_t *lo, uint32_t *hi)
51 #if defined(VISUAL_ARCH_X86) || defined(VISUAL_ARCH_X86_64)
56 /* FIXME use uint64_t here, make sure type exists */
57 -static inline unsigned long long visual_timer_tsc_get_returned ()
58 +static lv_inline unsigned long long visual_timer_tsc_get_returned ()