aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorHolger Hans Peter Freyther <zecke@selfish.org>2011-01-16 11:45:32 +0100
committerHolger Hans Peter Freyther <zecke@selfish.org>2011-01-17 11:21:09 +0100
commitf9b4a86e8dc16e85c09e37861f6de081167ccd7b (patch)
tree2694780c4b84c4bc7310be89d4f7ca153cc483b1
parentde56c2270268ff6e8945d5e03ec58ad52c3da64b (diff)
misc: Remove the link_c7 dummy methods
-rw-r--r--include/bsc_data.h3
-rw-r--r--src/main.c7
-rw-r--r--src/main_udt.c7
3 files changed, 0 insertions, 17 deletions
diff --git a/include/bsc_data.h b/include/bsc_data.h
index d13a566..6684348 100644
--- a/include/bsc_data.h
+++ b/include/bsc_data.h
@@ -141,9 +141,6 @@ void msc_close_connection(struct bsc_data *data);
void update_con_state(struct mtp_link *link, int rc, struct sccp_parse_result *result, struct msgb *msg, int from_msc, int sls);
unsigned int sls_for_src_ref(struct sccp_source_reference *ref);
-/* c7 init */
-int link_c7_init(struct link_data *data);
-
/* udp init */
int link_udp_init(struct link_data *data, int src_port, const char *dest_ip, int port);
diff --git a/src/main.c b/src/main.c
index a977df4..74b9243 100644
--- a/src/main.c
+++ b/src/main.c
@@ -71,13 +71,6 @@ static void handle_local_sccp(struct mtp_link *link, struct msgb *inp, struct sc
static void clear_connections(struct bsc_data *bsc);
static void send_local_rlsd(struct mtp_link *link, struct sccp_parse_result *res);
-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)
{
diff --git a/src/main_udt.c b/src/main_udt.c
index f44be21..ef5fce2 100644
--- a/src/main_udt.c
+++ b/src/main_udt.c
@@ -62,13 +62,6 @@ static char *config = "udt_relay.cfg";
struct bsc_data bsc;
extern 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;
-}
-
/*
* methods called from the MTP Level3 part
*/