$OpenBSD: patch-src_libaudcore_audio_c,v 1.1 2010/12/19 18:17:55 shadchin Exp $
--- src/libaudcore/audio.c.orig	Thu Aug 26 05:04:25 2010
+++ src/libaudcore/audio.c	Tue Dec  7 15:54:16 2010
@@ -64,22 +64,22 @@ TO_INT_LOOP (to_u24, gint32, noop32, 0x800000, 0x7ffff
 TO_INT_LOOP (to_s32, gint32, noop32, 0x00000000, 0x7fffffff)
 TO_INT_LOOP (to_u32, gint32, noop32, 0x80000000, 0x7fffffff)
 
-static inline gint16 swap16 (gint16 i) {return GUINT16_SWAP_LE_BE (i);}
-static inline gint32 swap32 (gint32 i) {return GUINT32_SWAP_LE_BE (i);}
+static inline gint16 Aswap16 (gint16 i) {return GUINT16_SWAP_LE_BE (i);}
+static inline gint32 Aswap32 (gint32 i) {return GUINT32_SWAP_LE_BE (i);}
 
-FROM_INT_LOOP (from_s16_swap, gint16, swap16, 0x0000, 0x7fff)
-FROM_INT_LOOP (from_u16_swap, gint16, swap16, 0x8000, 0x7fff)
-FROM_INT_LOOP (from_s24_swap, gint32, swap32, 0x000000, 0x7fffff)
-FROM_INT_LOOP (from_u24_swap, gint32, swap32, 0x800000, 0x7fffff)
-FROM_INT_LOOP (from_s32_swap, gint32, swap32, 0x00000000, 0x7fffffff)
-FROM_INT_LOOP (from_u32_swap, gint32, swap32, 0x80000000, 0x7fffffff)
+FROM_INT_LOOP (from_s16_swap, gint16, Aswap16, 0x0000, 0x7fff)
+FROM_INT_LOOP (from_u16_swap, gint16, Aswap16, 0x8000, 0x7fff)
+FROM_INT_LOOP (from_s24_swap, gint32, Aswap32, 0x000000, 0x7fffff)
+FROM_INT_LOOP (from_u24_swap, gint32, Aswap32, 0x800000, 0x7fffff)
+FROM_INT_LOOP (from_s32_swap, gint32, Aswap32, 0x00000000, 0x7fffffff)
+FROM_INT_LOOP (from_u32_swap, gint32, Aswap32, 0x80000000, 0x7fffffff)
 
-TO_INT_LOOP (to_s16_swap, gint16, swap16, 0x0000, 0x7fff)
-TO_INT_LOOP (to_u16_swap, gint16, swap16, 0x8000, 0x7fff)
-TO_INT_LOOP (to_s24_swap, gint32, swap32, 0x000000, 0x7fffff)
-TO_INT_LOOP (to_u24_swap, gint32, swap32, 0x800000, 0x7fffff)
-TO_INT_LOOP (to_s32_swap, gint32, swap32, 0x00000000, 0x7fffffff)
-TO_INT_LOOP (to_u32_swap, gint32, swap32, 0x80000000, 0x7fffffff)
+TO_INT_LOOP (to_s16_swap, gint16, Aswap16, 0x0000, 0x7fff)
+TO_INT_LOOP (to_u16_swap, gint16, Aswap16, 0x8000, 0x7fff)
+TO_INT_LOOP (to_s24_swap, gint32, Aswap32, 0x000000, 0x7fffff)
+TO_INT_LOOP (to_u24_swap, gint32, Aswap32, 0x800000, 0x7fffff)
+TO_INT_LOOP (to_s32_swap, gint32, Aswap32, 0x00000000, 0x7fffffff)
+TO_INT_LOOP (to_u32_swap, gint32, Aswap32, 0x80000000, 0x7fffffff)
 
 typedef void (* FromFunc) (void * in, gfloat * out, gint samples);
 typedef void (* ToFunc) (gfloat * in, void * out, gint samples);
