From 9718c2230d71e85026f4f7e7640ac45ef6a32c38 Mon Sep 17 00:00:00 2001 From: Julien BLACHE Date: Wed, 23 Jun 2010 18:21:34 +0200 Subject: [PATCH] canon: wrap unused function in #ifdef IMPLEMENT_ALL_SCANNER_SCSI_COMMANDS --- backend/canon-scsi.c | 2 ++ 1 file changed, 2 insertions(+) diff --git a/backend/canon-scsi.c b/backend/canon-scsi.c index 13e01edd8..423a07e32 100644 --- a/backend/canon-scsi.c +++ b/backend/canon-scsi.c @@ -94,6 +94,7 @@ inquiry (int fd, int evpd, void *buf, size_t *buf_size) return (status); } +#ifdef IMPLEMENT_ALL_SCANNER_SCSI_COMMANDS static SANE_Status mode_select (int fd) { @@ -114,6 +115,7 @@ mode_select (int fd) DBG (31, "<< mode_select\n"); return (status); } +#endif static SANE_Status reserve_unit (int fd)