fix some compiler warnings
This commit is contained in:
parent
1707ec7fbf
commit
b8750c2f55
7 changed files with 7 additions and 0 deletions
|
@ -1,5 +1,6 @@
|
||||||
/* a test of the Shewchuk triangulator (lib form) */
|
/* a test of the Shewchuk triangulator (lib form) */
|
||||||
|
|
||||||
|
#include <string.h>
|
||||||
#include <stdio.h>
|
#include <stdio.h>
|
||||||
#include <stdlib.h>
|
#include <stdlib.h>
|
||||||
|
|
||||||
|
|
|
@ -1,5 +1,6 @@
|
||||||
#include "triangulate.h"
|
#include "triangulate.h"
|
||||||
#include <math.h>
|
#include <math.h>
|
||||||
|
#include <string.h>
|
||||||
|
|
||||||
#ifdef _MSC_VER
|
#ifdef _MSC_VER
|
||||||
# include <memory.h>
|
# include <memory.h>
|
||||||
|
|
|
@ -1,5 +1,6 @@
|
||||||
#include "triangulate.h"
|
#include "triangulate.h"
|
||||||
#include <math.h>
|
#include <math.h>
|
||||||
|
#include <string.h>
|
||||||
#ifdef _MSC_VER
|
#ifdef _MSC_VER
|
||||||
# include <memory.h>
|
# include <memory.h>
|
||||||
#endif
|
#endif
|
||||||
|
|
|
@ -1,4 +1,5 @@
|
||||||
#include "triangulate.h"
|
#include "triangulate.h"
|
||||||
|
#include <string.h>
|
||||||
/* #include <sys/time.h> */
|
/* #include <sys/time.h> */
|
||||||
#ifdef _MSC_VER
|
#ifdef _MSC_VER
|
||||||
# include <memory.h>
|
# include <memory.h>
|
||||||
|
|
|
@ -51,6 +51,7 @@
|
||||||
static char rcsid[] =
|
static char rcsid[] =
|
||||||
"$Id: shpcreate.c,v 1.5 2002/01/15 14:36:07 warmerda Exp $";
|
"$Id: shpcreate.c,v 1.5 2002/01/15 14:36:07 warmerda Exp $";
|
||||||
|
|
||||||
|
#include <stdlib.h>
|
||||||
#include "shapefil.h"
|
#include "shapefil.h"
|
||||||
|
|
||||||
int main( int argc, char ** argv )
|
int main( int argc, char ** argv )
|
||||||
|
|
|
@ -67,6 +67,7 @@
|
||||||
static char rcsid[] =
|
static char rcsid[] =
|
||||||
"$Id: shpdump.c,v 1.10 2002/04/10 16:59:29 warmerda Exp $";
|
"$Id: shpdump.c,v 1.10 2002/04/10 16:59:29 warmerda Exp $";
|
||||||
|
|
||||||
|
#include <stdlib.h>
|
||||||
#include "shapefil.h"
|
#include "shapefil.h"
|
||||||
|
|
||||||
int main( int argc, char ** argv )
|
int main( int argc, char ** argv )
|
||||||
|
|
|
@ -79,6 +79,7 @@
|
||||||
static char rcsid[] =
|
static char rcsid[] =
|
||||||
"$Id: shputils.c,v 1.7 2003/02/25 17:20:22 warmerda Exp $";
|
"$Id: shputils.c,v 1.7 2003/02/25 17:20:22 warmerda Exp $";
|
||||||
|
|
||||||
|
#include <stdlib.h>
|
||||||
#include "shapefil.h"
|
#include "shapefil.h"
|
||||||
#include "string.h"
|
#include "string.h"
|
||||||
#ifndef FALSE
|
#ifndef FALSE
|
||||||
|
|
Loading…
Reference in a new issue