Signed-off-by: Denis 'GNUtoo' Carikli <gnu...@cyberdimension.org> --- samsung-ipc/devices/crespo/crespo.c | 21 +++++++++++++-------- 1 file changed, 13 insertions(+), 8 deletions(-)
diff --git a/samsung-ipc/devices/crespo/crespo.c b/samsung-ipc/devices/crespo/crespo.c index 3c4ca60..aed5b67 100644 --- a/samsung-ipc/devices/crespo/crespo.c +++ b/samsung-ipc/devices/crespo/crespo.c @@ -442,7 +442,7 @@ int crespo_poll(void *data, struct ipc_poll_fds *fds, struct timeval *timeout) return rc; } -int crespo_power_on(void *data) +int crespo_power_on(__attribute__((unused)) void *data) { int fd; int rc; @@ -461,7 +461,7 @@ int crespo_power_on(void *data) return 0; } -int crespo_power_off(void *data) +int crespo_power_off(__attribute__((unused)) void *data) { int fd; int rc; @@ -480,8 +480,9 @@ int crespo_power_off(void *data) return 0; } -int crespo_data_create(void **transport_data, void **power_data, - void **gprs_data) +int crespo_data_create(void **transport_data, + __attribute__((unused)) void **power_data, + __attribute__((unused)) void **gprs_data) { if (transport_data == NULL) return -1; @@ -491,7 +492,9 @@ int crespo_data_create(void **transport_data, void **power_data, return 0; } -int crespo_data_destroy(void *transport_data, void *power_data, void *gprs_data) +int crespo_data_destroy(void *transport_data, + __attribute__((unused)) void *power_data, + __attribute__((unused)) void *gprs_data) { if (transport_data == NULL) return -1; @@ -501,17 +504,19 @@ int crespo_data_destroy(void *transport_data, void *power_data, void *gprs_data) return 0; } -int crespo_gprs_activate(void *data, unsigned int cid) +int crespo_gprs_activate(__attribute__((unused)) void *data, + __attribute__((unused)) unsigned int cid) { return 0; } -int crespo_gprs_deactivate(void *data, unsigned int cid) +int crespo_gprs_deactivate(__attribute__((unused)) void *data, + __attribute__((unused)) unsigned int cid) { return 0; } -char *crespo_gprs_get_iface_single(unsigned int cid) +char *crespo_gprs_get_iface_single(__attribute__((unused)) unsigned int cid) { char *iface = NULL; -- 2.21.0 _______________________________________________ Replicant mailing list Replicant@osuosl.org https://lists.osuosl.org/mailman/listinfo/replicant