summaryrefslogtreecommitdiff
path: root/backend/canon_pp.c
diff options
context:
space:
mode:
authorJörg Frings-Fürst <debian@jff-webhosting.net>2021-02-16 18:24:19 +0100
committerJörg Frings-Fürst <debian@jff-webhosting.net>2021-02-16 18:24:19 +0100
commit351b7328520c16730ceb46e5acae16038c42185e (patch)
treefae21fd5c94f3c3ed0202a95c9ada705482e647b /backend/canon_pp.c
parentad38bc6ecb80ddeb562841b33258dd53659b1da6 (diff)
New upstream version 1.0.32upstream/1.0.32
Diffstat (limited to 'backend/canon_pp.c')
-rw-r--r--backend/canon_pp.c20
1 files changed, 6 insertions, 14 deletions
diff --git a/backend/canon_pp.c b/backend/canon_pp.c
index 822eaf1..5a23892 100644
--- a/backend/canon_pp.c
+++ b/backend/canon_pp.c
@@ -13,9 +13,7 @@
General Public License for more details.
You should have received a copy of the GNU General Public License
- along with this program; if not, write to the Free Software
- Foundation, Inc., 59 Temple Place - Suite 330, Boston,
- MA 02111-1307, USA.
+ along with this program. If not, see <https://www.gnu.org/licenses/>.
As a special exception, the authors of SANE give permission for
additional uses of the libraries contained in this release of SANE.
@@ -40,8 +38,6 @@
-----
- canon_pp.c: $Revision$
-
This file is part of the canon_pp backend, supporting Canon FBX30P
and NX40P scanners
*/
@@ -60,10 +56,6 @@
#include "../include/sane/config.h"
#endif
-#ifndef VERSION
-#define VERSION "$Revision$"
-#endif
-
#include <string.h>
#include <math.h>
#include <unistd.h>
@@ -367,7 +359,7 @@ sane_init (SANE_Int *vc, SANE_Auth_Callback cb)
continue;
}
- /* detect_mode suceeded, so the port is open. This beholdens
+ /* detect_mode succeeded, so the port is open. This beholdens
* us to call ieee1284_close in any of the remaining error
* cases in this loop. */
#if 0
@@ -456,7 +448,7 @@ sane_init (SANE_Int *vc, SANE_Auth_Callback cb)
*
* sane_get_devices()
*
- * Gives a list of devices avaialable. In our case, that's the linked
+ * Gives a list of devices available. In our case, that's the linked
* list produced by sane_init.
*
*************************************************************************/
@@ -1222,7 +1214,7 @@ sane_read (SANE_Handle h, SANE_Byte *buf, SANE_Int maxlen, SANE_Int *lenp)
/* At this point we have to read more data from the scanner - or the
* scan has been cancelled, which means we have to call read_segment
- * to leave the scanner consistant */
+ * to leave the scanner consistent */
/* Decide how many lines we can fit into this buffer */
if (cs->vals[OPT_DEPTH] == 0)
@@ -1464,7 +1456,7 @@ sane_exit (void)
/* Should normally nullify pointers after freeing, but in
* this case we're about to free the whole structure so
- * theres not a lot of point. */
+ * there's not a lot of point. */
/* Constraints (mostly) allocated when the scanner is opened */
if(dev->opt[OPT_TL_X].constraint.range)
@@ -1701,7 +1693,7 @@ static SANE_Status init_device(struct parport *pp)
/*
* NOTE: Ranges and lists are actually set when scanner is opened,
- * becase that's when we find out what sort of scanner it is
+ * because that's when we find out what sort of scanner it is
*/
DBG(100, "init_device: done opts\n");