aboutsummaryrefslogtreecommitdiffstats
path: root/src/main.c
diff options
context:
space:
mode:
authorHolger Hans Peter Freyther <zecke@selfish.org>2010-08-04 04:51:38 +0800
committerHolger Hans Peter Freyther <zecke@selfish.org>2010-08-04 06:09:13 +0800
commit48f4d63d8d4f25247ad368c42e0dfa087fd80a34 (patch)
tree0acad77b666f3f57fdda11b4752164c13587d341 /src/main.c
parentcbf7d18bb9319e2069c3cd48fd227ba3e29e9c1d (diff)
main.c: Make the link_c7_init weak to make the application link
Diffstat (limited to 'src/main.c')
-rw-r--r--src/main.c7
1 files changed, 7 insertions, 0 deletions
diff --git a/src/main.c b/src/main.c
index 1f5be89..f436008 100644
--- a/src/main.c
+++ b/src/main.c
@@ -109,6 +109,13 @@ static void send_local_rlsd(struct mtp_link *link, struct sccp_parse_result *res
static void start_flood();
static void cell_vty_init(void);
+int link_c7_init(struct link_data *data) __attribute__((__weak__));
+
+int link_c7_init(struct link_data *data)
+{
+ return -1;
+}
+
/* send a RSIP to the MGCP GW */
static void mgcp_reset(struct bsc_data *bsc)
{