Remove some compiler warnings.

DEVEL_2_0_BRANCH-1
Petter Reinholdtsen 2001-05-14 07:18:25 +00:00
rodzic 434c5c8898
commit 114eeeb3aa
2 zmienionych plików z 5 dodań i 4 usunięć

Wyświetl plik

@ -101,6 +101,7 @@ static SANE_Word window_val[2];
static int window_val_user[2]; /* is width/height user-specified? */
static int accept_only_md5_auth = 0;
static void fetch_options (SANE_Device * device);
static void
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)
{
const SANE_Option_Descriptor *opt;

Wyświetl plik

@ -79,7 +79,7 @@ usage (char *msg)
that SCSI generic was found, return 1. If SCSI generic is always
available in your OS, return 1 */
int
static int
check_sg (void)
{
#if defined(__linux__)
@ -106,7 +106,7 @@ check_sg (void)
return 1; /* Give up, and assume yes to avoid false negatives */
}
void
static void
scanner_do_inquiry (unsigned char *buffer, int sfd)
{
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)
{
unsigned char vendor[9];