mirror of git://git.sysmocom.de/ofono
Make const-correct
This commit is contained in:
parent
b648a112f2
commit
be4a4691aa
|
@ -257,7 +257,7 @@ static void at_select_storage_cb(gboolean ok, GAtResult *result,
|
|||
at_list_indices(modem, cb, modem);
|
||||
}
|
||||
|
||||
static void at_select_storage(struct ofono_modem *modem, char *storage,
|
||||
static void at_export_entries(struct ofono_modem *modem, const char *storage,
|
||||
ofono_phonebook_export_entries_t cb, void *data)
|
||||
{
|
||||
struct at_data *at = ofono_modem_userdata(modem);
|
||||
|
@ -282,12 +282,6 @@ error:
|
|||
}
|
||||
}
|
||||
|
||||
static void at_export_entries(struct ofono_modem *modem, char *storage,
|
||||
ofono_phonebook_export_entries_t cb, void *data)
|
||||
{
|
||||
at_select_storage(modem, storage, cb, modem);
|
||||
}
|
||||
|
||||
static struct ofono_phonebook_ops ops = {
|
||||
.export_entries = at_export_entries
|
||||
};
|
||||
|
|
|
@ -418,7 +418,7 @@ void ofono_sms_status_notify(struct ofono_modem *modem, unsigned char *pdu,
|
|||
int len, int tpdu_len);
|
||||
|
||||
struct ofono_phonebook_ops {
|
||||
void (*export_entries)(struct ofono_modem *modem, char *storage,
|
||||
void (*export_entries)(struct ofono_modem *modem, const char *storage,
|
||||
ofono_phonebook_export_entries_t cb, void *data);
|
||||
};
|
||||
|
||||
|
|
Loading…
Reference in New Issue