kodak: wrap unused function in #if 0

merge-requests/1/head
Julien BLACHE 2010-06-23 18:55:48 +02:00
rodzic 0f76413b67
commit 2c4c666874
2 zmienionych plików z 4 dodań i 0 usunięć

Wyświetl plik

@ -2787,6 +2787,7 @@ do_cmd(struct scanner *s, int runRS, int shortTime,
return ret;
}
#if 0 /* unused */
static SANE_Status
wait_scanner(struct scanner *s)
{
@ -2834,6 +2835,7 @@ wait_scanner(struct scanner *s)
return ret;
}
#endif /* 0 - unused */
/**
* Convenience method to determine longest string size in a list.

Wyświetl plik

@ -259,7 +259,9 @@ do_cmd(struct scanner *s, int runRS, int shortTime,
unsigned char * inBuff, size_t * inLen
);
#if 0 /* unused */
static SANE_Status wait_scanner (struct scanner *s);
#endif
static SANE_Status do_cancel (struct scanner *scanner);