summaryrefslogtreecommitdiffstats
path: root/bchannel.c
diff options
context:
space:
mode:
authorAndreas Eversberg2010-03-11 16:27:28 +0100
committerAndreas Eversberg2010-03-11 16:27:28 +0100
commitc4fcb0668c607cb0135444274ff62572cf6111c4 (patch)
tree12bbee0747bfa9c06b517741f1317e4e02696b8a /bchannel.c
parentFixed compiler warnings when compiling with gcc 4.3.4. (diff)
downloadlcr-c4fcb0668c607cb0135444274ff62572cf6111c4.tar.gz
lcr-c4fcb0668c607cb0135444274ff62572cf6111c4.tar.xz
lcr-c4fcb0668c607cb0135444274ff62572cf6111c4.zip
Fixed includes to latest mISDNuser structures.
modified: Makefile.am modified: Makefile.in modified: README modified: bchannel.c modified: dss1.cpp modified: mISDN.cpp modified: main.h
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;
}