summaryrefslogtreecommitdiff
path: root/include
diff options
context:
space:
mode:
authorMarcel Holtmann <marcel@holtmann.org>2012-06-17 00:58:35 -0700
committerMarcel Holtmann <marcel@holtmann.org>2012-06-17 00:58:35 -0700
commit2ead77e13361255061910b50a1f135b21772201e (patch)
treeb897845e5e499c7a87b17a25c1d7fd4336c1c6eb /include
parent67c6a01d466d544a003798413090bd100252684c (diff)
sms: Make PDU data arrays const
Diffstat (limited to 'include')
-rw-r--r--include/sms.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/include/sms.h b/include/sms.h
index 9ecf866d..ce7fe133 100644
--- a/include/sms.h
+++ b/include/sms.h
@@ -60,9 +60,9 @@ struct ofono_sms_driver {
ofono_sms_bearer_set_cb_t, void *data);
};
-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);
-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);
int ofono_sms_driver_register(const struct ofono_sms_driver *d);