aboutsummaryrefslogtreecommitdiffstats
path: root/channels
diff options
context:
space:
mode:
authorjpeeler <jpeeler@f38db490-d61c-443f-a65b-d21fe96a405b>2008-06-06 18:06:06 +0000
committerjpeeler <jpeeler@f38db490-d61c-443f-a65b-d21fe96a405b>2008-06-06 18:06:06 +0000
commit520498134e680ce044acbc31fb74fbd56eef85e5 (patch)
tree5dc8374ccb6eae4bad4c41ee6cc5ad57de0e82b3 /channels
parent60bf6d123af52f5efe12725ae5924cf244284929 (diff)
Merged revisions 120908 via svnmerge from
https://origsvn.digium.com/svn/asterisk/branches/1.4 ........ r120908 | jpeeler | 2008-06-06 13:05:15 -0500 (Fri, 06 Jun 2008) | 1 line only define thread storage variable if necessary for LOW_MEMORY ........ git-svn-id: http://svn.digium.com/svn/asterisk/trunk@120909 f38db490-d61c-443f-a65b-d21fe96a405b
Diffstat (limited to 'channels')
-rw-r--r--channels/chan_sip.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/channels/chan_sip.c b/channels/chan_sip.c
index 6c31e395c..190b51f2c 100644
--- a/channels/chan_sip.c
+++ b/channels/chan_sip.c
@@ -1723,11 +1723,13 @@ static void temp_pvt_cleanup(void *);
/*! \brief A per-thread temporary pvt structure */
AST_THREADSTORAGE_CUSTOM(ts_temp_pvt, temp_pvt_init, temp_pvt_cleanup);
+#ifdef LOW_MEMORY
static void ts_ast_rtp_destroy(void *);
AST_THREADSTORAGE_CUSTOM(ts_audio_rtp, NULL, ts_ast_rtp_destroy);
AST_THREADSTORAGE_CUSTOM(ts_video_rtp, NULL, ts_ast_rtp_destroy);
AST_THREADSTORAGE_CUSTOM(ts_text_rtp, NULL, ts_ast_rtp_destroy);
+#endif
/*! \brief Authentication list for realm authentication
* \todo Move the sip_auth list to AST_LIST */