Fix for compiling with gcc 4.1. Inlining functions which are used
authorSampo Savolainen <v2@iki.fi>
Sat, 5 Aug 2006 20:11:50 +0000 (20:11 +0000)
committerSampo Savolainen <v2@iki.fi>
Sat, 5 Aug 2006 20:11:50 +0000 (20:11 +0000)
by assigning pointers to the function doesn't make any sense.

git-svn-id: svn://localhost/ardour2/trunk@761 d708f5d6-7413-0410-9779-e7cbd77b26cf

libs/libsndfile/src/flac.c

index 1f0872f0bd77254c44467b9d9b31dbb7520a81f7..b74a4e3253df98374b2a6937f2e462a2b577a582 100644 (file)
@@ -128,38 +128,38 @@ static const int legal_sample_rates [] =
 {      8000, 16000, 22050, 24000, 32000, 44100, 48000, 96000
 } ;
 
-static inline void
+static void
 s2flac8_array (const short *src, FLAC__int32 *dest, int count)
 {      while (--count >= 0)
                dest [count] = src [count] >> 8 ;
 } /* s2flac8_array */
 
-static inline void
+static void
 s2flac16_array (const short *src, FLAC__int32 *dest, int count)
 {      while (--count >= 0)
                dest [count] = src [count] ;
 } /* s2flac16_array */
 
-static inline void
+static void
 s2flac24_array (const short *src, FLAC__int32 *dest, int count)
 {      while (--count >= 0)
                dest [count] = src [count] << 8 ;
 } /* s2flac24_array */
 
-static inline void
+static void
 i2flac8_array (const int *src, FLAC__int32 *dest, int count)
 {      while (--count >= 0)
                dest [count] = src [count] >> 24 ;
 } /* i2flac8_array */
 
-static inline void
+static void
 i2flac16_array (const int *src, FLAC__int32 *dest, int count)
 {
   while (--count >= 0)
     dest [count] = src [count] >> 16 ;
 } /* i2flac16_array */
 
-static inline void
+static void
 i2flac24_array (const int *src, FLAC__int32 *dest, int count)
 {      while (--count >= 0)
                dest [count] = src [count] >> 8 ;