aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorOlaf Meeuwissen <paddy-hack@member.fsf.org>2016-07-18 16:11:39 +0900
committerOlaf Meeuwissen <paddy-hack@member.fsf.org>2016-07-18 16:11:39 +0900
commit61719e0a131a6f0d4bf53aa98ecf510ce7081ca7 (patch)
tree9fe655df6ed272170b0dd388574aafc7fec2c170
parentef8e258165526175c9ac2d262448f16b551d19e9 (diff)
dc240: fix [-Wunused-parameter] compiler warning
The attribute needs to go before the pointer designation for it to have any effect.
-rw-r--r--backend/dc240.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/backend/dc240.c b/backend/dc240.c
index 2bf625d..4246513 100644
--- a/backend/dc240.c
+++ b/backend/dc240.c
@@ -1643,7 +1643,7 @@ sane_set_io_mode (SANE_Handle UNUSEDARG handle, SANE_Bool
}
SANE_Status
-sane_get_select_fd (SANE_Handle UNUSEDARG handle, SANE_Int * UNUSEDARG fd)
+sane_get_select_fd (SANE_Handle UNUSEDARG handle, SANE_Int UNUSEDARG * fd)
{
return SANE_STATUS_UNSUPPORTED;
}