[svn-commits] jpeeler: branch jpeeler/asterisk-sigwork-trunk r199136 - /team/jpeeler/asteri...

SVN commits to the Digium repositories svn-commits at lists.digium.com
Thu Jun 4 13:40:47 CDT 2009


Author: jpeeler
Date: Thu Jun  4 13:40:43 2009
New Revision: 199136

URL: http://svn.asterisk.org/svn-view/asterisk?view=rev&rev=199136
Log:
fix a few build errors

Modified:
    team/jpeeler/asterisk-sigwork-trunk/channels/chan_dahdi.c

Modified: team/jpeeler/asterisk-sigwork-trunk/channels/chan_dahdi.c
URL: http://svn.asterisk.org/svn-view/asterisk/team/jpeeler/asterisk-sigwork-trunk/channels/chan_dahdi.c?view=diff&rev=199136&r1=199135&r2=199136
==============================================================================
--- team/jpeeler/asterisk-sigwork-trunk/channels/chan_dahdi.c (original)
+++ team/jpeeler/asterisk-sigwork-trunk/channels/chan_dahdi.c Thu Jun  4 13:40:43 2009
@@ -4047,6 +4047,9 @@
 	struct dahdi_pvt *p = ast->tech_pvt;
 	int x, res, mysig;
 	char dest[256]; /* must be same length as p->dialdest */
+#ifdef HAVE_SS7
+	char *c, *l;
+#endif
 	ast_mutex_lock(&p->lock);
 	ast_copy_string(dest, rdest, sizeof(dest));
 	ast_copy_string(p->dialdest, rdest, sizeof(p->dialdest));
@@ -15774,10 +15777,12 @@
 static int load_module(void)
 {
 	int res;
-#if defined(HAVE_PRI) || defined(HAVE_SS7)
+#if defined(HAVE_PRI)
 	int y;
 #endif
-
+#if defined(HAVE_SS7)
+	int i;
+#endif
 #ifdef HAVE_PRI
 	memset(pris, 0, sizeof(pris));
 	for (y = 0; y < NUM_SPANS; y++) {




More information about the svn-commits mailing list