Avoid warnings.

This commit is contained in:
Andrey Kiselev 2004-07-03 16:04:01 +00:00
parent aa92ea59f3
commit 95242031c6
3 changed files with 23 additions and 6 deletions

View File

@ -1,4 +1,4 @@
/* "$Header: /cvs/maptools/cvsroot/libtiff/libtiff/mkg3states.c,v 1.3 2004-04-08 14:30:51 dron Exp $ */
/* "$Id: mkg3states.c,v 1.4 2004-07-03 16:05:40 dron Exp $ */
/*
* Copyright (c) 1991-1997 Sam Leffler
@ -29,10 +29,16 @@
* in Frank Cringle's viewfax program;
* Copyright (C) 1990, 1995 Frank D. Cringle.
*/
#include "config.h"
#include <stdio.h>
#include <stdlib.h>
#include <string.h>
#ifdef HAVE_GETOPT_H
# include <getopt.h>
#endif
#include "tif_fax3.h"
#define streq(a,b) (strcmp(a,b) == 0)

View File

@ -1,4 +1,4 @@
/* $Id: bmp2tiff.c,v 1.2 2004-06-14 15:10:10 dron Exp $
/* $Id: bmp2tiff.c,v 1.3 2004-07-03 16:04:01 dron Exp $
*
* Project: libtiff tools
* Purpose: Convert Windows BMP files in TIFF.
@ -32,11 +32,14 @@
#include <stdio.h>
#include <stdlib.h>
#include <string.h>
#include <unistd.h>
#include <ctype.h>
#include <sys/types.h>
#include <sys/stat.h>
#if HAVE_GETOPT_H
# include <getopt.h>
#endif
#include "tiffio.h"
enum BMPType

View File

@ -1,4 +1,4 @@
/* $Id: fax2ps.c,v 1.12 2004-06-05 08:13:06 dron Exp $" */
/* $Id: fax2ps.c,v 1.13 2004-07-03 16:04:01 dron Exp $" */
/*
* Copyright (c) 1991-1997 Sam Leffler
@ -25,16 +25,24 @@
*/
#include "config.h"
#include <math.h>
#include <stdlib.h>
#include <stdio.h>
#include <string.h>
#include <stdlib.h>
#include <math.h>
#include <time.h>
#if HAVE_UNISTD_H
# include <unistd.h>
#endif
#if HAVE_IO_H
# include <io.h>
#endif
#if HAVE_GETOPT_H
# include <getopt.h>
#endif
#include "tiffio.h"
float defxres = 204.; /* default x resolution (pixels/inch) */