Ralph Little
31a09f5500
various: convert pre-ANSI declarations to ANSI
...
Newer clang deprecates the pre-ANSI way to declare functions with no args.
This breaks recent Fedora CI images.
2024-09-05 22:17:27 -07:00
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
Olaf Meeuwissen
e79adde8b2
Use URL to refer users to copies of the GPL and LGPL
...
With the exception of use in three quotes as well as our inlcuded copy
of the GPL, all use of the Free Software Foundation's postal address
has been removed.
Re #320 .
2021-02-12 17:41:38 +09:00
Peter Marschall
32aa1ef826
spelling fixes for hp5400 backend
2020-08-29 09:18:03 +02:00
Ralph Little
37bc4598a2
hp5400: initialize options bit mask to avoid compiler warning and glitchy operation
...
This was picked up as a compiler warning in Ubuntu build and was a
real functional issue.
2020-07-26 10:00:48 -07:00
Ralph Little
28bcb9179d
hp5400: added support for editable colour/bw switch and copy count sensors.
2020-03-07 14:36:27 -08:00
Ralph Little
dd078cd17d
hp5400: Added support for all buttons.
...
Support to read copy counter display to be done shortly.
2020-03-05 08:58:54 -08:00
Olaf Meeuwissen
23891a2646
.editorconfig: trim trailing whitespace
2017-05-29 21:14:29 +09:00
Olaf Meeuwissen
763816814b
hp5400: fix [-Werror=overflow] compiler warning
...
This explicitly implements what gcc and clang assign.
2016-08-28 13:56:16 +09:00
Thomas Soumarmon
91e05c0b06
* integrated hp5400-endian.patch to run under PPC (thanks to Mattias Ellert)
2006-03-24 07:43:14 +00:00
Henning Geinitz
af58065746
64 bit platform fixes (bug #300799 ).
2004-10-03 17:34:36 +00:00
Thomas Soumarmon
f50c42d4fb
* hp5400: removing more compilation warnings
2004-10-03 11:14:03 +00:00
Thomas Soumarmon
fe611e1011
* hp5400 : removed some compilation warnings
2004-10-02 18:39:01 +00:00
Thomas Soumarmon
bae6c75ac7
* hp5400 : Version Matching Test removed by default
2004-10-02 17:03:58 +00:00
Thomas Soumarmon
96d46f8a7b
*fixed bug #300252 : added static to all non SANE specific functions\n*changed #include <sane/..> into #include ../include/sane/... as mentioned in the backend-writing.txt file
2003-10-06 11:25:50 +00:00
Thomas Soumarmon
c8845a70e2
hp5400 backend: moved constants init to sane_init() and sane_exit()
2003-07-28 07:14:16 +00:00
Thomas Soumarmon
17f6e26a15
HP5400: Added version string 0.87 reported to work ok. Use of a version list instead of several constants.
2003-07-07 07:58:26 +00:00
Thomas Soumarmon
c84bdda420
hp5400: synching SANE CVS with hp5400backend sourceforge project CVS : added and modified hp5400 files (see Changelog)
2003-06-05 07:05:59 +00:00
Henning Geinitz
0416826cb6
Changed license to GPL + SANE exception.
2003-05-08 12:36:23 +00:00
Henning Geinitz
c973d82237
Minor compilation fixes for MacOS X and OS/2.
2003-04-27 12:29:51 +00:00
Henning Geinitz
517751ff09
Added hp5400 backend from Martijn van Oosterhout <kleptog@svana.org> and
...
Thomas Soumarmon <soumarmt@nerim.net>. Changed to use sanei_usb instead of
direct /dev/usb/scanner access. Added manual page. Fixed some portablility
issues and some warnings. Added SANE headers.
2003-04-17 09:19:25 +00:00