diff options
author | Harald Welte <laforge@osmocom.org> | 2021-02-07 12:31:34 +0100 |
---|---|---|
committer | Harald Welte <laforge@osmocom.org> | 2021-02-07 12:43:47 +0100 |
commit | 3bd913398a7d2b3fe69d98117d1cc15106d5315f (patch) | |
tree | ea6ade6e12269794df9d860371aedaf39cf51727 /include | |
parent | 30c2edb0995d9138a5649a5d166746b3c192d322 (diff) |
osmo_ss7: const-ify input arguments to osmo_ss7_as_has_asp()
Change-Id: Id23d90ffea855680cd7d4a16b89e652eed0cf39f
Diffstat (limited to 'include')
-rw-r--r-- | include/osmocom/sigtran/osmo_ss7.h | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/include/osmocom/sigtran/osmo_ss7.h b/include/osmocom/sigtran/osmo_ss7.h index 2502407..2b4090e 100644 --- a/include/osmocom/sigtran/osmo_ss7.h +++ b/include/osmocom/sigtran/osmo_ss7.h @@ -344,8 +344,8 @@ osmo_ss7_as_find_or_create(struct osmo_ss7_instance *inst, const char *name, int osmo_ss7_as_add_asp(struct osmo_ss7_as *as, const char *asp_name); int osmo_ss7_as_del_asp(struct osmo_ss7_as *as, const char *asp_name); void osmo_ss7_as_destroy(struct osmo_ss7_as *as); -bool osmo_ss7_as_has_asp(struct osmo_ss7_as *as, - struct osmo_ss7_asp *asp); +bool osmo_ss7_as_has_asp(const struct osmo_ss7_as *as, + const struct osmo_ss7_asp *asp); bool osmo_ss7_as_active(const struct osmo_ss7_as *as); bool osmo_ss7_as_tmode_compatible_xua(struct osmo_ss7_as *as, uint32_t m3ua_tmt); void osmo_ss7_asp_disconnect(struct osmo_ss7_asp *asp); |