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.
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).
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>.
* backend/agfafogus.c: Moved PATH_MAX after sanei_backend.h include
to avoid warning. Changed printf to DBG.
* backend/mustek.c backend/mustek.CHANGES backend/mustek.desc: Added
support for translating options. Used only PACKAGE_VERSION for
output. Updated email address. New version: 1.0-107.
* include/sane/sanei_backend.h include/sane/saneopts.h: Added macro
SANE_I18N. It's used to mark strings that can be translated and
used by a frontend. Usually these are option titles and descriptions
as well as the contents of string lists. Used this macro to mark
the translatable strings in saneopts.h. More translation support
will follow.