aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rwxr-xr-xchannels/chan_zap.c7
1 files changed, 5 insertions, 2 deletions
diff --git a/channels/chan_zap.c b/channels/chan_zap.c
index 8f439a062..f90b48a09 100755
--- a/channels/chan_zap.c
+++ b/channels/chan_zap.c
@@ -7480,7 +7480,7 @@ static void *do_idle_thread(void *vchan)
return NULL;
}
-static void zt_pri_message(char *s)
+static void zt_pri_message(struct pri *pri, char *s)
{
ast_verbose("%s", s);
@@ -7492,7 +7492,10 @@ static void zt_pri_message(char *s)
ast_mutex_unlock(&pridebugfdlock);
}
-static void zt_pri_error(char *s)
+#ifndef PRI_NEW_SET_API
+#error "Upgrade your libpri"
+#endif
+static void zt_pri_error(struct pri *pri, char *s)
{
ast_log(LOG_WARNING, "PRI: %s", s);