From 102c9ba757dfa17896e4d59ff8ff03edbc4d7524 Mon Sep 17 00:00:00 2001 From: Nanang Izzuddin Date: Thu, 23 Jan 2014 08:13:11 +0000 Subject: Misc (re #1630): Fixed symbols that should not be exported (thanks Tzafrir Cohen for the patch). git-svn-id: http://svn.pjsip.org/repos/pjproject/trunk@4713 74dad513-b988-da41-8d7b-12977e46ad98 --- pjmedia/src/pjmedia-codec/g722/g722_dec.c | 2 +- pjmedia/src/pjmedia-codec/speex_codec.c | 2 +- pjmedia/src/pjmedia/echo_suppress.c | 2 +- 3 files changed, 3 insertions(+), 3 deletions(-) (limited to 'pjmedia') diff --git a/pjmedia/src/pjmedia-codec/g722/g722_dec.c b/pjmedia/src/pjmedia-codec/g722/g722_dec.c index 27300c52..d04ee3aa 100644 --- a/pjmedia/src/pjmedia-codec/g722/g722_dec.c +++ b/pjmedia/src/pjmedia-codec/g722/g722_dec.c @@ -450,7 +450,7 @@ static int block5h (int dh, int sh) return (rh) ; } -void rx_qmf(g722_dec_t *dec, int rl, int rh, int *xout1, int *xout2) +static void rx_qmf(g722_dec_t *dec, int rl, int rh, int *xout1, int *xout2) { int i; diff --git a/pjmedia/src/pjmedia-codec/speex_codec.c b/pjmedia/src/pjmedia-codec/speex_codec.c index ab9b509a..8a82b0ca 100644 --- a/pjmedia/src/pjmedia-codec/speex_codec.c +++ b/pjmedia/src/pjmedia-codec/speex_codec.c @@ -725,7 +725,7 @@ static pj_status_t spx_codec_modify(pjmedia_codec *codec, /* This function will iterate frames & submodes in the Speex bits. * Returns 0 if a frame found, otherwise returns -1. */ -int speex_get_next_frame(SpeexBits *bits) +static int speex_get_next_frame(SpeexBits *bits) { static const int inband_skip_table[NB_SUBMODES] = {1, 1, 4, 4, 4, 4, 4, 4, 8, 8, 16, 16, 32, 32, 64, 64 }; diff --git a/pjmedia/src/pjmedia/echo_suppress.c b/pjmedia/src/pjmedia/echo_suppress.c index 85a6efb4..ec699d71 100644 --- a/pjmedia/src/pjmedia/echo_suppress.c +++ b/pjmedia/src/pjmedia/echo_suppress.c @@ -125,7 +125,7 @@ typedef enum talk_state ST_REM_TALK } talk_state_t; -const char *state_names[] = +static const char *state_names[] = { "Null", "local talking", -- cgit v1.2.3