summaryrefslogtreecommitdiff
path: root/tools/umax_pp.c
diff options
context:
space:
mode:
authorJörg Frings-Fürst <debian@jff-webhosting.net>2020-03-30 21:30:45 +0200
committerJörg Frings-Fürst <debian@jff-webhosting.net>2020-03-30 21:30:45 +0200
commitee770c2346eb37e0dcb8b6cf3eaacf3d8efd6bbc (patch)
tree58f05092be1a17a939e861f8cadcda1b6ca2ecef /tools/umax_pp.c
parent0da9e21872802cfc6e975b1ebaf9efb9e5934d84 (diff)
parentfef76e17ed4c607ea73b81279f9ef1d7121be900 (diff)
Merge branch 'release/experimental/1.0.29-1_experimental1'experimental/1.0.29-1_experimental1
Diffstat (limited to 'tools/umax_pp.c')
-rw-r--r--tools/umax_pp.c8
1 files changed, 6 insertions, 2 deletions
diff --git a/tools/umax_pp.c b/tools/umax_pp.c
index 134320b..eabf900 100644
--- a/tools/umax_pp.c
+++ b/tools/umax_pp.c
@@ -32,15 +32,19 @@ main (int argc, char **argv)
char dbgstr[80];
int probe = 0;
int port = 0;
- char *name = NULL;
+ const char *name = NULL;
int scan = 0;
int lamp = -1;
- int i, fd;
+ int i;
int found;
int recover = 0;
int trace = 0;
int maxw, maxh;
+#ifdef HAVE_LINUX_PPDEV_H
+ int fd;
+#endif
+
/* scanning parameters : defaults to preview (75 dpi color, full scan area) */
int gain = 0x0;
int offset = 0x646;