aboutsummaryrefslogtreecommitdiffstats
path: root/include/osmocom/sigtran/osmo_ss7.h
diff options
context:
space:
mode:
authorNeels Hofmeyr <nhofmeyr@sysmocom.de>2017-07-27 13:50:31 +0200
committerNeels Hofmeyr <nhofmeyr@sysmocom.de>2017-08-09 13:54:44 +0200
commit775ac6f6b1c47066db58608f9497f0e4916bbcc4 (patch)
treedb879f823ff760ea9f1b92532ded673047e3533d /include/osmocom/sigtran/osmo_ss7.h
parenta212398f7c39ab0e919e0c9efde8a1c8a37678bb (diff)
constify ss7_instance arg of osmo_ss7_pointcode_print()
Diffstat (limited to 'include/osmocom/sigtran/osmo_ss7.h')
-rw-r--r--include/osmocom/sigtran/osmo_ss7.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/include/osmocom/sigtran/osmo_ss7.h b/include/osmocom/sigtran/osmo_ss7.h
index 967912a..a457709 100644
--- a/include/osmocom/sigtran/osmo_ss7.h
+++ b/include/osmocom/sigtran/osmo_ss7.h
@@ -23,8 +23,8 @@ int osmo_ss7_find_free_rctx(struct osmo_ss7_instance *inst);
bool osmo_ss7_pc_is_local(struct osmo_ss7_instance *inst, uint32_t pc);
int osmo_ss7_pointcode_parse(struct osmo_ss7_instance *inst, const char *str);
int osmo_ss7_pointcode_parse_mask_or_len(struct osmo_ss7_instance *inst, const char *in);
-const char *osmo_ss7_pointcode_print(struct osmo_ss7_instance *inst, uint32_t pc);
-const char *osmo_ss7_pointcode_print2(struct osmo_ss7_instance *inst, uint32_t pc);
+const char *osmo_ss7_pointcode_print(const struct osmo_ss7_instance *inst, uint32_t pc);
+const char *osmo_ss7_pointcode_print2(const struct osmo_ss7_instance *inst, uint32_t pc);
/* All known point-code formats have a length of or below 24 bit.
* A point-code value exceeding that is used to indicate an unset PC. */