pri_restart() is no longer needed since the Q.921 rewrite.
Don't output error message for a deprecated function. git-svn-id: https://origsvn.digium.com/svn/libpri/branches/1.4@1464 2fbb986a-6c06-0410-b554-c9c1f0a7f128
This commit is contained in:
parent
6443238ed0
commit
748c69e160
3
pri.c
3
pri.c
@ -376,14 +376,13 @@ void pri_sr_set_useruser(struct pri_sr *sr, const char *userchars)
|
||||
|
||||
int pri_restart(struct pri *pri)
|
||||
{
|
||||
/* pri_restart() is no longer needed since the Q.921 rewrite. */
|
||||
#if 0
|
||||
/* Restart Q.921 layer */
|
||||
if (pri) {
|
||||
q921_reset(pri, 1);
|
||||
q921_start(pri, pri->localtype == PRI_CPE);
|
||||
}
|
||||
#else
|
||||
pri_error(pri, "pri_restart should never be called !!!!\n");
|
||||
#endif
|
||||
return 0;
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user