diff options
Diffstat (limited to 'print/hplip/files/patch-scan_sane_hpaio.c')
-rw-r--r-- | print/hplip/files/patch-scan_sane_hpaio.c | 24 |
1 files changed, 7 insertions, 17 deletions
diff --git a/print/hplip/files/patch-scan_sane_hpaio.c b/print/hplip/files/patch-scan_sane_hpaio.c index 1db522c34b14..80d83cd2eadf 100644 --- a/print/hplip/files/patch-scan_sane_hpaio.c +++ b/print/hplip/files/patch-scan_sane_hpaio.c @@ -1,20 +1,10 @@ ---- scan/sane/hpaio.c.orig 2019-10-22 06:25:58 UTC +--- scan/sane/hpaio.c.orig 2022-02-23 07:41:05 UTC +++ scan/sane/hpaio.c -@@ -419,7 +419,7 @@ extern void sane_hpaio_close(SANE_Handle handle) - if (strcmp(*((char **)handle), "ESCL") == 0) - return escl_close(handle); - if (strcmp(*((char **)handle), "ORBLITE") == 0) -- return orblite_close(handle); -+ orblite_close(handle); - } /* sane_hpaio_close() */ +@@ -51,6 +51,7 @@ + #include "escl.h" + #include "io.h" + #include "orblitei.h" ++#include "orblite.h" - extern const SANE_Option_Descriptor * sane_hpaio_get_option_descriptor(SANE_Handle handle, SANE_Int option) -@@ -552,7 +552,7 @@ extern void sane_hpaio_cancel( SANE_Handle handle ) - if (strcmp(*((char **)handle), "ESCL") == 0) - return escl_cancel(handle); - if (strcmp(*((char **)handle), "ORBLITE") == 0) -- return orblite_cancel(handle); -+ orblite_cancel(handle); - } /* sane_hpaio_cancel() */ - extern SANE_Status sane_hpaio_set_io_mode(SANE_Handle handle, SANE_Bool nonBlocking) + #define DEBUG_DECLARE_ONLY |