Not all pthreads implementations use an integer type for pthread_t.
As a matter of fact, POSIX has explicitly withdrawn the requirement
that it must be an arithmatic type.
The musl C library uses a `struct __pthread *` which triggered the
warnings. As of this change, sanei_thread.h works around this by
providing two new macros to help keep this issue out of sight. All
backends have been changed to use these macros.
This gets rid of a number of obsoleted macros and replaces RETSIGTYPE
with a void literal which can be assumed for C89 and later.
This changeset was prepared using autoupdate and modified to get rid of
whitespace and doubled [] changes. Changes to acinclude.m4 were added
by hand.
Source code was inconsistent on how they were referencing
include files in include/sane. In certain cases, sane/sane.h
and sane/saneopts.h was really including external copies (with
some preprocessor implementations anyways).
Global replace of u_int??_t with C9x standard based uintxx_t
in order to remove some tricky and overlapping portability logic
from acinclude.m4 and leave it in only m4/stdint.m4.
While attaching devices only read attributes from source 0 (=
MD_SOURCE_FLATBED), others give wrong results. Better handling of different
shading depths. Including model ColorPage-EP. Workaround for firmware bug for
V300 (FW < 2.70). Workaround for firmware bug with odd pixel numbers. Bugfix for
lamp switching when using LightLid35 Transparency Adaptor.
to copy it over and over again. Changed header inclusion order in backend
files to include backend.h after sanei_backend.h. Based on a patch from stef
<stef-listes@wanadoo.fr>.
20011023 (from karsten.festag@t-online.de (Karsten Festag)).
Bugfix for scsi_read_image_status - supports now the old and the
new method. Improved backend-calibration supports brightness and
contrast settings and color balancing. Enable 12 bit per color
scanning with Scanmaker 9600XL (and other types that use the segreg
pixel transfer format and support 12 bit, untested). 10 bit does not
work yet. Make C6 USB work.
Henning Meier-Geinitz <henning@meier-geinitz.de>
* NEWS: Updated for SANE 1.0.4. Please check.
* README.aix: Removed paragraph about shared libs not working.
* README.linux: Added paragraph about excessive warnings due to glibc
bug (from Peter Kirchgessner).
* TODO: Removed entry about shared libs not working on AIX. Added entry
about PTAL checks. Removed entry about DBG and microtek2. Added entry
about dc210 and jpeg functions. Added entry about using strchr()
instead of index().
* sane.lsm: Added NEC.
* backend/microtek2.c: (from karsten.festag@t-online.de (Karsten
Festag)) Use DBG instead of printf/fprintf. Use
#include "../sane/include/..." instead of #include "sane/...". Fixed
warnings.