Sun Studio can not include static function from extern inline

Signed-off-by: Erik de Castro Lopo <erikd@mega-nerd.com>
This commit is contained in:
Dagobert Michelsen
2013-05-26 22:55:12 +02:00
committed by Erik de Castro Lopo
parent 0196c0f44c
commit 349c6adcf7

View File

@@ -79,7 +79,10 @@ struct FLAC__BitWriter {
}; };
/* * WATCHOUT: The current implementation only grows the buffer. */ /* * WATCHOUT: The current implementation only grows the buffer. */
static FLAC__bool bitwriter_grow_(FLAC__BitWriter *bw, unsigned bits_to_add) #ifndef __SUNPRO_C
static
#endif
FLAC__bool bitwriter_grow_(FLAC__BitWriter *bw, unsigned bits_to_add)
{ {
unsigned new_capacity; unsigned new_capacity;
uint32_t *new_buffer; uint32_t *new_buffer;