diff options
author | Paul Kocialkowski <contact@paulk.fr> | 2012-12-15 11:00:43 +0100 |
---|---|---|
committer | Paul Kocialkowski <contact@paulk.fr> | 2012-12-15 11:06:11 +0100 |
commit | 78c2c30d5695aba9d128a03d84df0091944c450f (patch) | |
tree | 047e18891efa9eecd2890e211f92bf9109f7bd37 | |
parent | 1b0c520dcf191c82313dc488f2d01a8c2c82004e (diff) | |
download | hardware_ril_samsung-ril-78c2c30d5695aba9d128a03d84df0091944c450f.zip hardware_ril_samsung-ril-78c2c30d5695aba9d128a03d84df0091944c450f.tar.gz hardware_ril_samsung-ril-78c2c30d5695aba9d128a03d84df0091944c450f.tar.bz2 |
RFS: Export ipc_rfs_send function prototype
Signed-off-by: Paul Kocialkowski <contact@paulk.fr>
-rw-r--r-- | ipc.h | 1 | ||||
-rw-r--r-- | rfs.c | 4 |
2 files changed, 3 insertions, 2 deletions
@@ -42,5 +42,6 @@ extern struct ril_client_funcs ipc_fmt_client_funcs; extern struct ril_client_funcs ipc_rfs_client_funcs; void ipc_fmt_send(const unsigned short command, const char type, unsigned char *data, const int length, unsigned char mseq); +void ipc_rfs_send(const unsigned short command, unsigned char *data, const int length, unsigned char mseq); #endif @@ -57,7 +57,7 @@ void ipc_rfs_nv_read_item(struct ipc_message_info *info) rfs_io_conf->offset = rfs_io->offset; rfs_io_conf->length = rfs_io->length; - ipc_rfs_send(IPC_RFS_NV_READ_ITEM, rfs_io_conf, rfs_io->length + sizeof(struct ipc_rfs_io_confirm), info->aseq); + ipc_rfs_send(IPC_RFS_NV_READ_ITEM, (unsigned char *) rfs_io_conf, rfs_io->length + sizeof(struct ipc_rfs_io_confirm), info->aseq); free(rfs_io_conf); } @@ -93,5 +93,5 @@ void ipc_rfs_nv_write_item(struct ipc_message_info *info) rfs_io_conf.offset = rfs_io->offset; rfs_io_conf.length = rfs_io->length; - ipc_rfs_send(IPC_RFS_NV_WRITE_ITEM, &rfs_io_conf, sizeof(struct ipc_rfs_io_confirm), info->aseq); + ipc_rfs_send(IPC_RFS_NV_WRITE_ITEM, (unsigned char *) &rfs_io_conf, sizeof(struct ipc_rfs_io_confirm), info->aseq); } |