Signed-off-by: Denis 'GNUtoo' Carikli <gnu...@cyberdimension.org> --- samsung-ipc/devices/galaxys2/galaxys2.c | 20 ++++++++++++-------- 1 file changed, 12 insertions(+), 8 deletions(-)
diff --git a/samsung-ipc/devices/galaxys2/galaxys2.c b/samsung-ipc/devices/galaxys2/galaxys2.c index 672400f..8b96893 100644 --- a/samsung-ipc/devices/galaxys2/galaxys2.c +++ b/samsung-ipc/devices/galaxys2/galaxys2.c @@ -305,12 +305,12 @@ int galaxys2_poll(void *data, struct ipc_poll_fds *fds, struct timeval *timeout) return rc; } -int galaxys2_power_on(void *data) +int galaxys2_power_on(__attribute__((unused)) void *data) { return 0; } -int galaxys2_power_off(void *data) +int galaxys2_power_off(__attribute__((unused)) void *data) { int fd; int rc; @@ -329,18 +329,21 @@ int galaxys2_power_off(void *data) return 0; } -int galaxys2_gprs_activate(void *data, unsigned int cid) +int galaxys2_gprs_activate(__attribute__((unused)) void *data, + __attribute__((unused)) unsigned int cid) { return 0; } -int galaxys2_gprs_deactivate(void *data, unsigned int cid) +int galaxys2_gprs_deactivate(__attribute__((unused)) void *data, + __attribute__((unused)) unsigned int cid) { return 0; } -int galaxys2_data_create(void **transport_data, void **power_data, - void **gprs_data) +int galaxys2_data_create(void **transport_data, + __attribute__((unused)) void **power_data, + __attribute__((unused)) void **gprs_data) { if (transport_data == NULL) return -1; @@ -350,8 +353,9 @@ int galaxys2_data_create(void **transport_data, void **power_data, return 0; } -int galaxys2_data_destroy(void *transport_data, void *power_data, - void *gprs_data) +int galaxys2_data_destroy(void *transport_data, + __attribute__((unused)) void *power_data, + __attribute__((unused)) void *gprs_data) { if (transport_data == NULL) return -1; -- 2.21.0 _______________________________________________ Replicant mailing list Replicant@osuosl.org https://lists.osuosl.org/mailman/listinfo/replicant