Wykres commitów

8 Commity (44f96adb33b79606caeb76f0c09c2994e29342da)

Autor SHA1 Wiadomość Data
David Ward f3162bafa8 Replace variable self-assignments to avoid Clang warnings
These were intended to suppress GCC warnings about unused variables.
However, this leads to different warnings from Clang instead.

Use another approach that suppresses warnings from both compilers.
2022-03-08 19:00:00 -05:00
Wolfram Sang eb42ad08d5 treewide: use SANE_CURRENT_* macros consistently
Backends use a mixture of SANE_CURRENT_{MAJOR | MINOR} and V_{MAJOR |
MINOR} with all kind of permutations. I was confused by this and one
comment in pieusb.c tells me I was not alone. Some items in old
changelogs suggest to use the SANE_CURRENT_ macros in backends, so let's
switch to do that with the exception of net.c and dll.c. Done with:

$ find backend -name '*.[ch]' | xargs sed -i '/nearly every/ ! { s/\<V_M/SANE_CURRENT_M/g }'
$ git checkout backend/net.c backend/dll.c

And manually removing the comment from pieusb.c. Everything still builds
fine.
2021-06-08 19:01:41 +02:00
Olaf Meeuwissen d4d5d76e83 Update references to the SANE standard
The authors have been added to SANE standard itself, pointers to the
standard now point to the published version and/or the project that
isnow used for its maintenance as appropriate.  References to input
files and installation locations have been removed.
2020-03-05 21:14:34 +09:00
m. allan noah e4f634d68e add support for sanei_magic to kvs1025 backend 2011-06-06 20:52:25 -04:00
Chris Bagwell 1df16a29aa Fix kvs1024 compiling on platforms without libusb
Removed direct include of usb.h in backend since it
should be using sanei_usb.  Completed prototype
of sane_exit(void) for some versions of gcc that are
strict about that.

Signed-off-by: Chris Bagwell <chris@cnpbagwell.com>
2010-04-02 16:02:21 -05:00
Stéphane Voltz fc69168373 change usb_init() to sanei_usn_init() 2010-04-01 21:33:50 +02:00
m. allan noah 93bba440b0 convert kvs1025 backend from libusb to sanei_usb, and enable it 2010-03-26 00:01:16 -04:00
m. allan noah 5d12e39b7c Adding new files for new kvs1025 backend 2010-02-12 22:23:14 -05:00