summaryrefslogtreecommitdiffstats
path: root/bchannel.c
diff options
context:
space:
mode:
Diffstat (limited to 'bchannel.c')
-rw-r--r--bchannel.c8
1 files changed, 3 insertions, 5 deletions
diff --git a/bchannel.c b/bchannel.c
index b6107b6..f49572b 100644
--- a/bchannel.c
+++ b/bchannel.c
@@ -25,9 +25,9 @@
#include <sys/socket.h>
#include <mISDNif.h>
-#define AF_COMPATIBILITY_FUNC 1
-#define MISDN_OLD_AF_COMPATIBILITY 1
-#include <compat_af_isdn.h>
+#include <mISDN/mISDNcompat.h>
+int __af_isdn = MISDN_AF_ISDN;
+#include <mISDN/q931.h>
#define HAVE_ATTRIBUTE_always_inline 1
#define HAVE_ARPA_INET_H 1
@@ -74,8 +74,6 @@ static void bchannel_send_queue(struct bchannel *bchannel);
int bchannel_initialize(void)
{
- init_af_isdn();
-
return 0;
}