mirror of git://git.sysmocom.de/ofono
Make SCTS to time function const-correct
This commit is contained in:
parent
9b9365ffae
commit
b08c403815
|
@ -1602,7 +1602,7 @@ gboolean sms_udh_iter_next(struct sms_udh_iter *iter)
|
|||
/* Returns both forms of time. The time_t value returns the time in local
|
||||
* timezone. The struct tm is filled out with the remote time information
|
||||
*/
|
||||
time_t sms_scts_to_time(struct sms_scts *scts, struct tm *remote)
|
||||
time_t sms_scts_to_time(const struct sms_scts *scts, struct tm *remote)
|
||||
{
|
||||
struct tm t;
|
||||
time_t ret;
|
||||
|
|
|
@ -329,7 +329,7 @@ gboolean sms_encode(const struct sms *in, int *len, int *tpdu_len,
|
|||
|
||||
int sms_udl_in_bytes(guint8 ud_len, guint8 dcs);
|
||||
|
||||
time_t sms_scts_to_time(struct sms_scts *scts, struct tm *remote);
|
||||
time_t sms_scts_to_time(const struct sms_scts *scts, struct tm *remote);
|
||||
|
||||
gboolean sms_udh_iter_init(const struct sms *sms, struct sms_udh_iter *iter);
|
||||
enum sms_iei sms_udh_iter_get_ie_type(struct sms_udh_iter *iter);
|
||||
|
|
Loading…
Reference in New Issue