osmo-epdg: ue: constructor: add const to imsi argument
This commit is contained in:
parent
15ab60873e
commit
2aabfbaadd
|
@ -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;
|
||||
|
||||
|
|
|
@ -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_ */
|
||||
|
|
Loading…
Reference in New Issue