aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorjpeeler <jpeeler@f38db490-d61c-443f-a65b-d21fe96a405b>2008-08-18 02:05:29 +0000
committerjpeeler <jpeeler@f38db490-d61c-443f-a65b-d21fe96a405b>2008-08-18 02:05:29 +0000
commitb5180d509c098972f6d39f675715cbb8b15e4a77 (patch)
tree41c849f54c3bc5bf83707a02b3a6982c83e9b509
parentb3c49ffe90df3e0911b937ca8a7845f352215925 (diff)
fix compilation warnings
git-svn-id: http://svn.digium.com/svn/asterisk/branches/1.4@138516 f38db490-d61c-443f-a65b-d21fe96a405b
-rw-r--r--channels/chan_dahdi.c5
1 files changed, 4 insertions, 1 deletions
diff --git a/channels/chan_dahdi.c b/channels/chan_dahdi.c
index 5234b8c20..1de2a342d 100644
--- a/channels/chan_dahdi.c
+++ b/channels/chan_dahdi.c
@@ -10052,7 +10052,10 @@ retry:
static int setup_dahdi(int reload);
static int dahdi_restart(void)
{
- int i, j, cancel_code;
+#if defined(HAVE_PRI)
+ int i, j
+#endif
+ int cancel_code;
struct dahdi_pvt *p;
ast_mutex_lock(&restart_lock);