summaryrefslogtreecommitdiff
path: root/gst/tta
diff options
context:
space:
mode:
authorBenjamin Otte <otte@redhat.com>2010-03-21 21:39:18 +0100
committerBenjamin Otte <otte@redhat.com>2010-03-21 21:39:18 +0100
commitf96e4f15817974e8d3675bfe3980cdf02815bd74 (patch)
tree8eb2ba9bc6058e9a8d5ad2a46e6bd5034e3f3813 /gst/tta
parent46f4c7a6c127dbd20fd9f88a10518e084501cd36 (diff)
downloadgstreamer-plugins-bad-f96e4f15817974e8d3675bfe3980cdf02815bd74.tar.gz
Add -Wmissing-declarations -Wmissing-prototypes to configure flags
And fix all warnings
Diffstat (limited to 'gst/tta')
-rw-r--r--gst/tta/gstttadec.c8
1 files changed, 4 insertions, 4 deletions
diff --git a/gst/tta/gstttadec.c b/gst/tta/gstttadec.c
index 7fdea3c2e..31c05e96b 100644
--- a/gst/tta/gstttadec.c
+++ b/gst/tta/gstttadec.c
@@ -231,7 +231,7 @@ gst_tta_dec_init (GstTtaDec * ttadec)
ttadec->tta_buf.buffer_end = ttadec->tta_buf.buffer + TTA_BUFFER_SIZE;
}
-void
+static void
rice_init (adapt * rice, unsigned long k0, unsigned long k1)
{
rice->k0 = k0;
@@ -240,7 +240,7 @@ rice_init (adapt * rice, unsigned long k0, unsigned long k1)
rice->sum1 = shift_16[k1];
}
-void
+static void
decoder_init (decoder * tta, long nch, long byte_size)
{
long shift = flt_set[byte_size - 1];
@@ -253,7 +253,7 @@ decoder_init (decoder * tta, long nch, long byte_size)
}
}
-void
+static void
get_binary (tta_buffer * tta_buf, guchar * buffer, unsigned long buffersize,
unsigned long *value, unsigned long bits)
{
@@ -279,7 +279,7 @@ get_binary (tta_buffer * tta_buf, guchar * buffer, unsigned long buffersize,
tta_buf->bit_cache &= bit_mask[tta_buf->bit_count];
}
-void
+static void
get_unary (tta_buffer * tta_buf, guchar * buffer, unsigned long buffersize,
unsigned long *value)
{