kopia lustrzana https://gitlab.com/sane-project/backends
Remove some compiler warnings.
rodzic
434c5c8898
commit
114eeeb3aa
|
@ -101,6 +101,7 @@ static SANE_Word window_val[2];
|
||||||
static int window_val_user[2]; /* is width/height user-specified? */
|
static int window_val_user[2]; /* is width/height user-specified? */
|
||||||
static int accept_only_md5_auth = 0;
|
static int accept_only_md5_auth = 0;
|
||||||
|
|
||||||
|
static void fetch_options (SANE_Device * device);
|
||||||
|
|
||||||
static void
|
static void
|
||||||
auth_callback (SANE_String_Const resource,
|
auth_callback (SANE_String_Const resource,
|
||||||
|
@ -692,7 +693,7 @@ parse_vector (const SANE_Option_Descriptor * opt, const char *str,
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
void
|
static void
|
||||||
fetch_options (SANE_Device * device)
|
fetch_options (SANE_Device * device)
|
||||||
{
|
{
|
||||||
const SANE_Option_Descriptor *opt;
|
const SANE_Option_Descriptor *opt;
|
||||||
|
|
|
@ -79,7 +79,7 @@ usage (char *msg)
|
||||||
that SCSI generic was found, return 1. If SCSI generic is always
|
that SCSI generic was found, return 1. If SCSI generic is always
|
||||||
available in your OS, return 1 */
|
available in your OS, return 1 */
|
||||||
|
|
||||||
int
|
static int
|
||||||
check_sg (void)
|
check_sg (void)
|
||||||
{
|
{
|
||||||
#if defined(__linux__)
|
#if defined(__linux__)
|
||||||
|
@ -106,7 +106,7 @@ check_sg (void)
|
||||||
return 1; /* Give up, and assume yes to avoid false negatives */
|
return 1; /* Give up, and assume yes to avoid false negatives */
|
||||||
}
|
}
|
||||||
|
|
||||||
void
|
static void
|
||||||
scanner_do_inquiry (unsigned char *buffer, int sfd)
|
scanner_do_inquiry (unsigned char *buffer, int sfd)
|
||||||
{
|
{
|
||||||
size_t size;
|
size_t size;
|
||||||
|
@ -126,7 +126,7 @@ scanner_do_inquiry (unsigned char *buffer, int sfd)
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
void
|
static void
|
||||||
scanner_identify_scanner (unsigned char *buffer, int sfd, char *devicename)
|
scanner_identify_scanner (unsigned char *buffer, int sfd, char *devicename)
|
||||||
{
|
{
|
||||||
unsigned char vendor[9];
|
unsigned char vendor[9];
|
||||||
|
|
Ładowanie…
Reference in New Issue