git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@43460
65c4cc65-6c06-0410-ace0-
fbb531ad65f3
static int unload_module(void)
{
+#if defined(HAVE_PRI) || defined(HAVE_SS7)
int y;
-#ifdef HAVE_PRI
+#endif
+#ifdef HAVE_PRI
for (y = 0; y < NUM_SPANS; y++)
ast_mutex_destroy(&pris[y].lock);
#endif
static int load_module(void)
{
int res;
- int y,i;
+#if defined(HAVE_PRI) || defined(HAVE_SS7)
+ int y, i;
+#endif
#ifdef HAVE_PRI
memset(pris, 0, sizeof(pris));