]> git.tuebingen.mpg.de Git - paraslash.git/commitdiff
speex: Don't export spx_ctl().
authorAndre Noll <maan@systemlinux.org>
Sun, 14 Oct 2012 14:27:13 +0000 (16:27 +0200)
committerAndre Noll <maan@systemlinux.org>
Sun, 26 May 2013 14:26:06 +0000 (16:26 +0200)
This is only used from spx_common.c, so make it static and kill
the prototype in spx.h.

spx.h
spx_common.c

diff --git a/spx.h b/spx.h
index 6bcf17747556e6e071913683499c81828fed073d..c4999f07a6a32c2229afa8187c13871c64b3a7f8 100644 (file)
--- a/spx.h
+++ b/spx.h
@@ -37,4 +37,3 @@ struct spx_header_info {
 
 int spx_process_header(unsigned char *packet, long bytes,
                struct spx_header_info *shi);
-int spx_ctl(void *state, int request, void *ptr);
index 3a4d5dd1a5fa7a13811c16cd59fbb510b8447adc..3bd3d48d2b9fbc70fe8c8283a3ab47421ef1c463 100644 (file)
@@ -60,7 +60,7 @@
  *
  * \return Standard.
  */
-int spx_ctl(void *state, int request, void *ptr)
+static int spx_ctl(void *state, int request, void *ptr)
 {
        int ret = speex_decoder_ctl(state, request, ptr);