mirror of
https://github.com/asterisk/asterisk.git
synced 2025-09-24 22:58:21 +00:00
add HAVE_PRI if define around dahdi_close_pri_fd
git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.4@140115 65c4cc65-6c06-0410-ace0-fbb531ad65f3
This commit is contained in:
@@ -957,12 +957,14 @@ static void dahdi_close_sub(struct dahdi_pvt *chan_pvt, int sub_num)
|
||||
dahdi_close(chan_pvt->subs[sub_num].dfd);
|
||||
chan_pvt->subs[sub_num].dfd = -1;
|
||||
}
|
||||
|
||||
|
||||
#ifdef HAVE_PRI
|
||||
static void dahdi_close_pri_fd(struct dahdi_pri *pri, int fd_num)
|
||||
{
|
||||
dahdi_close(pri->fds[fd_num]);
|
||||
pri->fds[fd_num] = -1;
|
||||
}
|
||||
#endif
|
||||
|
||||
static int dahdi_setlinear(int dfd, int linear)
|
||||
{
|
||||
|
Reference in New Issue
Block a user