osmo-epdg: ue: constructor: add const to imsi argument

This commit is contained in:
Alexander Couzens 2024-02-18 17:31:11 +01:00
parent 15ab60873e
commit 2aabfbaadd
2 changed files with 2 additions and 2 deletions

View File

@ -144,7 +144,7 @@ METHOD(osmo_epdg_ue_t, destroy, void,
free(this);
}
osmo_epdg_ue_t *osmo_epdg_ue_create(uint32_t id, char *imsi)
osmo_epdg_ue_t *osmo_epdg_ue_create(uint32_t id, const char *imsi)
{
private_osmo_epdg_ue_t *this;

View File

@ -103,6 +103,6 @@ struct osmo_epdg_ue_t {
* Create a osmo_epdg_ue instance.
* A newly created object will come with refcount = 1. Use put() to destroy it.
*/
osmo_epdg_ue_t *osmo_epdg_ue_create(uint32_t id, char *imsi);
osmo_epdg_ue_t *osmo_epdg_ue_create(uint32_t id, const char *imsi);
#endif /* OSMO_EPDG_UE_H_ */