diff options
author | Neels Hofmeyr <neels@hofmeyr.de> | 2016-07-06 15:58:48 +0200 |
---|---|---|
committer | Neels Hofmeyr <neels@hofmeyr.de> | 2016-07-12 00:51:21 +0200 |
commit | 0a43722a488aa650ce0192a409734b9ddc093603 (patch) | |
tree | 5afe500a650432e7ee0d09201c01b0cdbdc6fa72 /src/tests | |
parent | 6458c30db459c666bce4a517c46b8dfdc1889f53 (diff) |
fix compiler warnings with new libosmo-sccp: rename to osmo_sccp_*
See libosmo-sccp.git 1a3875092f93df3c3054d26eac52bb0ea9bd09c3
Note: at time of commit, osmo-iuh still depends on the libosmo-sccp sysmocom/iu
branch to build.
The same rename has been committed to both sysmocom/iu and master on
libosmo-sccp. Above commit hash is on sysmocom/iu. The master commit is
03ad002c28073b347b92bcde16d5af80a06389e4.
Change-Id: Id9c0065d7398a6205ff24477d47c9663caac669c
Diffstat (limited to 'src/tests')
-rw-r--r-- | src/tests/dummy_cn_sua.c | 12 |
1 files changed, 6 insertions, 6 deletions
diff --git a/src/tests/dummy_cn_sua.c b/src/tests/dummy_cn_sua.c index 2aee171..c2fc712 100644 --- a/src/tests/dummy_cn_sua.c +++ b/src/tests/dummy_cn_sua.c @@ -31,13 +31,13 @@ const char *cmdline_bind_addr = "127.0.0.1"; struct ue_conn_ctx { struct llist_head list; - struct osmo_sua_link *link; + struct osmo_sccp_link *link; uint32_t conn_id; }; static LLIST_HEAD(conn_ctx_list); -struct ue_conn_ctx *ue_conn_ctx_alloc(struct osmo_sua_link *link, uint32_t conn_id) +struct ue_conn_ctx *ue_conn_ctx_alloc(struct osmo_sccp_link *link, uint32_t conn_id) { struct ue_conn_ctx *ctx = talloc_zero(NULL, struct ue_conn_ctx); @@ -48,7 +48,7 @@ struct ue_conn_ctx *ue_conn_ctx_alloc(struct osmo_sua_link *link, uint32_t conn_ return ctx; } -struct ue_conn_ctx *ue_conn_ctx_find(struct osmo_sua_link *link, uint32_t conn_id) +struct ue_conn_ctx *ue_conn_ctx_find(struct osmo_sccp_link *link, uint32_t conn_id) { struct ue_conn_ctx *ctx; @@ -240,8 +240,8 @@ static void cn_ranap_handle_cl(void *ctx, ranap_message *message) * ***********************************************************************/ -int tx_unitdata(struct osmo_sua_link *link); -int tx_conn_req(struct osmo_sua_link *link, uint32_t conn_id); +int tx_unitdata(struct osmo_sccp_link *link); +int tx_conn_req(struct osmo_sccp_link *link, uint32_t conn_id); struct osmo_prim_hdr *make_conn_req(uint32_t conn_id); struct osmo_prim_hdr *make_dt1_req(uint32_t conn_id, const uint8_t *data, unsigned int len); @@ -359,7 +359,7 @@ static void handle_options(int argc, char **argv) int main(int argc, char **argv) { - struct osmo_sua_user *user; + struct osmo_sccp_user *user; void *ctx = talloc_named_const(NULL, 1, "root"); int rc; int port = 14001; |