diff options
author | Marcel Holtmann <marcel@holtmann.org> | 2012-06-17 00:58:35 -0700 |
---|---|---|
committer | Marcel Holtmann <marcel@holtmann.org> | 2012-06-17 00:58:35 -0700 |
commit | 2ead77e13361255061910b50a1f135b21772201e (patch) | |
tree | b897845e5e499c7a87b17a25c1d7fd4336c1c6eb /src/sms.c | |
parent | 67c6a01d466d544a003798413090bd100252684c (diff) | |
download | ofono-2ead77e13361255061910b50a1f135b21772201e.tar.bz2 |
sms: Make PDU data arrays const
Diffstat (limited to 'src/sms.c')
-rw-r--r-- | src/sms.c | 4 |
1 files changed, 2 insertions, 2 deletions
@@ -1459,7 +1459,7 @@ static inline gboolean handle_mwi(struct ofono_sms *sms, struct sms *s) return discard; } -void ofono_sms_deliver_notify(struct ofono_sms *sms, unsigned char *pdu, +void ofono_sms_deliver_notify(struct ofono_sms *sms, const unsigned char *pdu, int len, int tpdu_len) { struct ofono_modem *modem = __ofono_atom_get_modem(sms->atom); @@ -1606,7 +1606,7 @@ out: handle_deliver(sms, &s); } -void ofono_sms_status_notify(struct ofono_sms *sms, unsigned char *pdu, +void ofono_sms_status_notify(struct ofono_sms *sms, const unsigned char *pdu, int len, int tpdu_len) { struct sms s; |