Peter Marschall
e1ea09c834
spelling fixes for coolscan backend
2020-08-29 09:18:03 +02:00
Olaf Meeuwissen
df1aba21bc
SANE_Pid: Fix [-Wint-conversion] issues
...
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.
2017-07-15 14:47:54 +09:00
Olaf Meeuwissen
23891a2646
.editorconfig: trim trailing whitespace
2017-05-29 21:14:29 +09:00
Jörg Frings-Fürst
e21bb28e50
Source code string typo fixes
2017-05-13 18:38:43 +09:00
Olaf Meeuwissen
d3d5dc3da0
Update to autoconf-2.69
...
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.
2016-06-13 22:05:34 +09:00
Olaf Meeuwissen
43b296471b
coolscan: fix [-Wunused-but-set-variable] compiler warnings
2015-12-27 18:38:41 +09:00
Olaf Meeuwissen
e094c5b43b
Invert sense of sanei_thread validity check
...
Double negatives suck.
2015-11-24 18:19:31 +09:00
Olaf Meeuwissen
fe12d31e68
Fix SANE_Pid related -Wsign-compare warnings
...
This may fix threading related issues on WIN32 platforms, BTW.
2015-11-24 18:19:31 +09:00
Stéphane Voltz
7fb21d541a
fix for #300126
...
- free memory allocated by sane_get_devices()
2015-08-10 21:30:19 +02:00
Mark Buda
c591d2b7da
Correction of some spelling/grammatical errors in source code
2014-05-15 22:04:37 -04:00
m. allan noah
ff048f4176
add three new SANE_VALUE macros and use mode name macros from saneopts.h
2010-02-10 23:48:21 -05:00
Alessandro Zummo
b39c12dd7b
Define MM_PER_INCH once for all
2009-06-18 15:54:49 +02:00
chris@cnpbagwell.com
4d9e8138af
standardize including local sane/ include files.
...
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).
2009-05-07 22:06:20 -05:00
m. allan noah
91598aa800
* backend/*.[ch]: nearly every backend used V_MAJOR
...
instead of SANE_CURRENT_MAJOR in sane_init()
* backend/snapscan.c: remove EXPECTED_VERSION check
since new SANE standard is forward compatible
2008-11-26 21:21:31 +00:00
m. allan noah
994bef3b16
reduce gcc pedantic/ansi warnings from 690 to 280 lines, mostly via casts in
...
str*() calls, also update hpljm1005 sane_cancel code
2008-02-04 01:20:01 +00:00
Mattias Ellert
7c6b4d6a99
Fix handling of valid "negative" PIDs
2007-11-18 10:59:18 +00:00
Mattias Ellert
abd402ad51
Correct the test of the return value from sanei_thread_begin
2007-11-16 08:04:02 +00:00
Julien BLACHE
7ca41423ac
OPT_NUM_OPTS must be of type SANE_TYPE_INT.
2007-10-26 14:56:38 +00:00
Oliver Rauch
133b172756
coolscan.c: added initialization dev->scanning = SANE_FALSE
2005-01-19 21:59:35 +00:00
Mattias Ellert
ac9ec0ff1c
Missed one...
2004-06-20 01:22:44 +00:00
Henning Geinitz
e7484c515e
Silenced some compilation warnings.
2003-12-27 17:48:39 +00:00
Gerhard Jaeger
463debf80f
Switched backend over to sanei_thread usage, to make it work at least with OS/2.
2003-11-04 16:09:51 +00:00
Henning Geinitz
8fb02e0e36
Fixed a bunch of compilation warnings.
2003-04-03 16:20:47 +00:00
Henning Geinitz
f25fd9c455
Minor conversion fixes (from Andrea Suatoni <a.suatoni@telefonica.net>).
2003-01-24 13:52:52 +00:00
Petter Reinholdtsen
27c68434f2
Remove semicolon at the end of functions.
2002-10-10 08:05:30 +00:00
Henning Geinitz
7d4c8be1ea
Declared all internal functions static.
...
Henning Meier-Geinitz <henning@meier-geinitz.de>
2001-06-04 16:14:11 +00:00
Petter Reinholdtsen
b4a1a513c9
Merge devel (v1.0.3) into head branch.
2000-08-12 15:11:46 +00:00
Petter Reinholdtsen
30ab5e718a
Initial revision
1999-08-09 18:06:01 +00:00