From: Andre Noll <maan@systemlinux.org>
Date: Sun, 14 Oct 2012 14:27:13 +0000 (+0200)
Subject: speex: Don't export spx_ctl().
X-Git-Tag: v0.4.13~22^2~3
X-Git-Url: https://git.tue.mpg.de/?a=commitdiff_plain;h=53133e1c6dbefade4cee94cf4c4363f9ba38b2d5;p=paraslash.git

speex: Don't export spx_ctl().

This is only used from spx_common.c, so make it static and kill
the prototype in spx.h.
---

diff --git a/spx.h b/spx.h
index 6bcf1774..c4999f07 100644
--- 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);
diff --git a/spx_common.c b/spx_common.c
index 3a4d5dd1..3bd3d48d 100644
--- a/spx_common.c
+++ b/spx_common.c
@@ -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);