From 349c6adcf7d766a37ac1039f334873a9c4624c19 Mon Sep 17 00:00:00 2001 From: Dagobert Michelsen Date: Sun, 26 May 2013 22:55:12 +0200 Subject: [PATCH] Sun Studio can not include static function from extern inline Signed-off-by: Erik de Castro Lopo --- src/libFLAC/bitwriter.c | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) 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;