summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDagobert Michelsen <dam@opencsw.org>2013-05-26 22:55:12 +0200
committerErik de Castro Lopo <erikd@mega-nerd.com>2013-05-27 18:06:51 +1000
commit349c6adcf7d766a37ac1039f334873a9c4624c19 (patch)
treea298f914ff6482e954f45b67f35cbc489c101eaf
parent0196c0f44cd32f73b4ba49cc3c05442dfbea13c0 (diff)
downloadflac-349c6adcf7d766a37ac1039f334873a9c4624c19.tar.gz
Sun Studio can not include static function from extern inline
Signed-off-by: Erik de Castro Lopo <erikd@mega-nerd.com>
-rw-r--r--src/libFLAC/bitwriter.c5
1 files changed, 4 insertions, 1 deletions
diff --git a/src/libFLAC/bitwriter.c b/src/libFLAC/bitwriter.c
index 30a7fd9b..9a99d139 100644
--- a/src/libFLAC/bitwriter.c
+++ b/src/libFLAC/bitwriter.c
@@ -79,7 +79,10 @@ struct FLAC__BitWriter {
};
/* * 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;
uint32_t *new_buffer;