projects
/
paraslash.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
e065f3e
)
speex: Don't export spx_ctl().
author
Andre Noll
<maan@systemlinux.org>
Sun, 14 Oct 2012 14:27:13 +0000
(16:27 +0200)
committer
Andre 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
patch
|
blob
|
history
spx_common.c
patch
|
blob
|
history
diff --git
a/spx.h
b/spx.h
index
6bcf177
..
c4999f0
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);
diff --git
a/spx_common.c
b/spx_common.c
index
3a4d5dd
..
3bd3d48
100644
(file)
--- 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);