From 53133e1c6dbefade4cee94cf4c4363f9ba38b2d5 Mon Sep 17 00:00:00 2001
From: Andre Noll <maan@systemlinux.org>
Date: Sun, 14 Oct 2012 16:27:13 +0200
Subject: [PATCH] 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.
---
 spx.h        | 1 -
 spx_common.c | 2 +-
 2 files changed, 1 insertion(+), 2 deletions(-)

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);
 
-- 
2.39.5