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.
* backend/plustek-pp.h backend/plustek-pp_ptdrv.c backend/plustek_pp.c:
fixed "not homing" problem, the sensor did not return when
the driver gets the _IOCTL_STOP command
fixed compilation issue for kernels > 2.6.15
fixed compiler warning conditions
* backend/plustek_pp.c: Bumped build number.
* backend/plustek-pp_ptdrv.c backend/plustek-pp_detec.c:
Fixed bug, that prevents backend from working, when the device
is another parport than parport0 - spotted by Christoph Steinbruchel.
All the supported CanoScan devices should work now correctly.
Moved the Plustek parallelport support into a separate backend: plustek_pp.
Added new backend for Plustek ASIC 9600x/9800x based parallelport scanner.