[Lsb-messages] /var/www/bzr/lsb/devel/devchk r2282: restore broken sane return types (bug 2199)

Mats Wichmann mats at linuxfoundation.org
Wed May 16 11:31:12 UTC 2012


------------------------------------------------------------
revno: 2282
committer: Mats Wichmann <mats at linuxfoundation.org>
branch nick: devchk
timestamp: Wed 2012-05-16 05:31:12 -0600
message:
  restore broken sane return types (bug 2199)
modified:
  ts/devchk/sane_sane_h.c
-------------- next part --------------
=== modified file 'ts/devchk/sane_sane_h.c'
--- a/ts/devchk/sane_sane_h.c	2012-05-15 18:06:24 +0000
+++ b/ts/devchk/sane_sane_h.c	2012-05-16 11:31:12 +0000
@@ -440,33 +440,33 @@
 CheckFunctionTypedef(SANE_Auth_Callback,SANE_Auth_Callback_db);
 #endif
 
-extern  sane_init_db(SANE_Int *, SANE_Auth_Callback);
+extern SANE_Status sane_init_db(SANE_Int *, SANE_Auth_Callback);
 CheckInterfacedef(sane_init,sane_init_db);
-extern  sane_exit_db(void);
+extern void sane_exit_db(void);
 CheckInterfacedef(sane_exit,sane_exit_db);
-extern  sane_get_devices_db(const SANE_Device * * *, SANE_Bool);
+extern SANE_Status sane_get_devices_db(const SANE_Device * * *, SANE_Bool);
 CheckInterfacedef(sane_get_devices,sane_get_devices_db);
-extern  sane_open_db(SANE_String_Const, SANE_Handle *);
+extern SANE_Status sane_open_db(SANE_String_Const, SANE_Handle *);
 CheckInterfacedef(sane_open,sane_open_db);
-extern  sane_close_db(SANE_Handle);
+extern void sane_close_db(SANE_Handle);
 CheckInterfacedef(sane_close,sane_close_db);
-extern  sane_get_option_descriptor_db(SANE_Handle, SANE_Int);
+extern const SANE_Option_Descriptor * sane_get_option_descriptor_db(SANE_Handle, SANE_Int);
 CheckInterfacedef(sane_get_option_descriptor,sane_get_option_descriptor_db);
-extern  sane_control_option_db(SANE_Handle, SANE_Int, SANE_Action, void *, SANE_Int *);
+extern SANE_Status sane_control_option_db(SANE_Handle, SANE_Int, SANE_Action, void *, SANE_Int *);
 CheckInterfacedef(sane_control_option,sane_control_option_db);
-extern  sane_get_parameters_db(SANE_Handle, SANE_Parameters *);
+extern SANE_Status sane_get_parameters_db(SANE_Handle, SANE_Parameters *);
 CheckInterfacedef(sane_get_parameters,sane_get_parameters_db);
-extern  sane_start_db(SANE_Handle);
+extern SANE_Status sane_start_db(SANE_Handle);
 CheckInterfacedef(sane_start,sane_start_db);
-extern  sane_read_db(SANE_Handle, SANE_Byte *, SANE_Int, SANE_Int *);
+extern SANE_Status sane_read_db(SANE_Handle, SANE_Byte *, SANE_Int, SANE_Int *);
 CheckInterfacedef(sane_read,sane_read_db);
-extern  sane_cancel_db(SANE_Handle);
+extern void sane_cancel_db(SANE_Handle);
 CheckInterfacedef(sane_cancel,sane_cancel_db);
-extern  sane_set_io_mode_db(SANE_Handle, SANE_Bool);
+extern SANE_Status sane_set_io_mode_db(SANE_Handle, SANE_Bool);
 CheckInterfacedef(sane_set_io_mode,sane_set_io_mode_db);
-extern  sane_get_select_fd_db(SANE_Handle, SANE_Int *);
+extern SANE_Status sane_get_select_fd_db(SANE_Handle, SANE_Int *);
 CheckInterfacedef(sane_get_select_fd,sane_get_select_fd_db);
-extern  sane_strstatus_db(SANE_Status);
+extern SANE_String_Const sane_strstatus_db(SANE_Status);
 CheckInterfacedef(sane_strstatus,sane_strstatus_db);
 #ifdef TET_TEST
 if (pcnt == cnt )



More information about the lsb-messages mailing list