diff options
author | Jörg Frings-Fürst <debian@jff-webhosting.net> | 2019-07-31 17:00:58 +0200 |
---|---|---|
committer | Jörg Frings-Fürst <debian@jff-webhosting.net> | 2019-07-31 17:00:58 +0200 |
commit | d087d778ffb62e2713cb848540bcc819470365bd (patch) | |
tree | d69692a274dd1c7d0672e6bb7155a0fc106f9d49 /backend/mustek_pp_null.c | |
parent | c8bd2513ecba169cff44c09c8058c36987357b18 (diff) | |
parent | 3759ce55ba79b8d3b9d8ed247a252273ee7dade3 (diff) |
Merge branch 'feature/upstream' into develop
Diffstat (limited to 'backend/mustek_pp_null.c')
-rw-r--r-- | backend/mustek_pp_null.c | 14 |
1 files changed, 7 insertions, 7 deletions
diff --git a/backend/mustek_pp_null.c b/backend/mustek_pp_null.c index e1c6a35..06045cb 100644 --- a/backend/mustek_pp_null.c +++ b/backend/mustek_pp_null.c @@ -39,7 +39,7 @@ If you do not wish that, delete this exception notice. This file implements a SANE backend for Mustek PP flatbed scanners. */ - + #include "../include/sane/config.h" #if defined(HAVE_STDLIB_H) @@ -62,7 +62,7 @@ #define MUSTEK_PP_NULL_DRIVER 0 -static SANE_Status +static SANE_Status debug_drv_init(SANE_Int options, SANE_String_Const port, SANE_String_Const name, SANE_Attach_Callback attach) { @@ -75,7 +75,7 @@ debug_drv_init(SANE_Int options, SANE_String_Const port, } /*ARGSUSED*/ -static void +static void debug_drv_capabilities(SANE_Int info __UNUSED__, SANE_String *model, SANE_String *vendor, SANE_String *type, SANE_Int *maxres, SANE_Int *minres, @@ -96,14 +96,14 @@ debug_drv_capabilities(SANE_Int info __UNUSED__, SANE_String *model, /*ARGSUSED*/ static SANE_Status -debug_drv_open (SANE_String port __UNUSED__, +debug_drv_open (SANE_String port __UNUSED__, SANE_Int caps __UNUSED__, SANE_Int *fd) { *fd = 1; return SANE_STATUS_GOOD; } -static void +static void debug_drv_setup (SANE_Handle hndl) { @@ -115,7 +115,7 @@ debug_drv_setup (SANE_Handle hndl) /*ARGSUSED*/ static SANE_Status -debug_drv_config(SANE_Handle hndl __UNUSED__, +debug_drv_config(SANE_Handle hndl __UNUSED__, SANE_String_Const optname, SANE_String_Const optval) { @@ -136,7 +136,7 @@ debug_drv_start (SANE_Handle hndl __UNUSED__) return SANE_STATUS_GOOD; } -static void +static void debug_drv_read (SANE_Handle hndl, SANE_Byte *buffer) { |