Wykres commitów

6 Commity (b49deae017ea893f0ffbca44fa1c26b54ee4fb11)

Autor SHA1 Wiadomość Data
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 f3f8afb08c kvs20xx.c: don't assume sane_get_devices() has been called
Nor that that function is called with a non-NULL argument.
This aligns the implementation with that of kvs40xx.c.

Fixes 315625.
2017-05-06 12:26:48 +09:00
Chris Bagwell 8d8eb5ee29 fix missing scan symbol broken in previous kvs20xx commit 2012-08-07 21:56:14 -05:00
Chris Bagwell 67b011b48c Fix duplicate symbol errors in kvs20xx/kvs40xx
These 2 backends are basically copy&paste of each other and so
have duplicate symbol names.

When using prelink backend option, the duplicates will conflict
and cause compile failure.  Probably even in shared libraries
this can be an issue in some cases.

Solved by converting functions to static when possible and
adding a kvs40xx_/kvs20xx_ prefix in remaining cases.
2012-08-07 21:01:35 -05:00
Julien BLACHE 75c58b8bb8 kvs20xx: fix function definitions for functions with void parameter list 2010-06-23 18:21:37 +02:00
m. allan noah e7efa77aa5 Add new kvs20xx backend from Panasonic, for KV-S202xC and KV-S204xC 2010-06-09 16:31:00 -04:00