projects
/
platform
/
upstream
/
flac.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(from parent 1:
0196c0f
)
Sun Studio can not include static function from extern inline
author
Dagobert Michelsen
<dam@opencsw.org>
Sun, 26 May 2013 20:55:12 +0000
(22:55 +0200)
committer
Erik de Castro Lopo
<erikd@mega-nerd.com>
Mon, 27 May 2013 08:06:51 +0000
(18:06 +1000)
Signed-off-by: Erik de Castro Lopo <erikd@mega-nerd.com>
src/libFLAC/bitwriter.c
patch
|
blob
|
history
diff --git
a/src/libFLAC/bitwriter.c
b/src/libFLAC/bitwriter.c
index
30a7fd9
..
9a99d13
100644
(file)
--- 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;