From 3716b22ae8288891876fa6b25881f7ecef92cc1c Mon Sep 17 00:00:00 2001 From: Andrey Kiselev Date: Thu, 12 Jul 2007 17:25:12 +0000 Subject: [PATCH] Added missed extern optind. --- tools/tiff2pdf.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/tools/tiff2pdf.c b/tools/tiff2pdf.c index ba47766a..1b5e34a1 100644 --- a/tools/tiff2pdf.c +++ b/tools/tiff2pdf.c @@ -1,4 +1,4 @@ -/* $Id: tiff2pdf.c,v 1.41 2007-07-06 01:25:17 bfriesen Exp $ +/* $Id: tiff2pdf.c,v 1.42 2007-07-12 17:25:12 dron Exp $ * * tiff2pdf - converts a TIFF image to a PDF document * @@ -537,6 +537,7 @@ t2p_unmapproc(thandle_t handle, void *data, tmsize_t offset) int main(int argc, char** argv){ extern char *optarg; + extern int optind; const char *outfilename = NULL; T2P *t2p = NULL; TIFF *input = NULL, *output = NULL;