From: Mark Cave-Ayland Date: Tue, 16 Sep 2008 22:43:31 +0000 (+0000) Subject: Silence a few more compiler warnings that had appeared during my last few parser... X-Git-Tag: 1.4.0b1~735 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=552023181f46d395992c4e9fea110efab932a109;p=postgis Silence a few more compiler warnings that had appeared during my last few parser commits. git-svn-id: http://svn.osgeo.org/postgis/trunk@2972 b70326c6-7e19-0410-871a-916f4a2858ee --- diff --git a/liblwgeom/liblwgeom.h b/liblwgeom/liblwgeom.h index 7118bc319..e2992a7ee 100644 --- a/liblwgeom/liblwgeom.h +++ b/liblwgeom/liblwgeom.h @@ -25,6 +25,7 @@ * Memory management function types */ extern void lwgeom_init_allocators(void); +extern void lwgeom_install_default_allocators(void); typedef void* (*lwallocator)(size_t size); typedef void* (*lwreallocator)(void *mem, size_t size); @@ -1272,6 +1273,7 @@ LWGEOM *lwmsurface_add(const LWMSURFACE *to, uint32 where, const LWGEOM *what); uint32 has_arc(LWGEOM *geom); double lwcircle_center(POINT4D *p1, POINT4D *p2, POINT4D *p3, POINT4D **result); LWGEOM *lwgeom_segmentize(LWGEOM *geom, uint32 perQuad); +LWGEOM *lwgeom_desegmentize(LWGEOM *geom); extern double lwgeom_curvepolygon_area(LWCURVEPOLY *curvepoly); double lwcircle_center(POINT4D *p1, POINT4D *p2, POINT4D *p3, POINT4D **result); diff --git a/liblwgeom/lwsegmentize.c b/liblwgeom/lwsegmentize.c index 4f383913b..d87a94949 100644 --- a/liblwgeom/lwsegmentize.c +++ b/liblwgeom/lwsegmentize.c @@ -1044,4 +1044,5 @@ lwgeom_desegmentize(LWGEOM *geom) default: return lwgeom_clone(geom); } -} \ No newline at end of file +} + diff --git a/liblwgeom/lwutil.c b/liblwgeom/lwutil.c index 5ed070236..95206089c 100644 --- a/liblwgeom/lwutil.c +++ b/liblwgeom/lwutil.c @@ -178,7 +178,7 @@ default_errorreporter(const char *fmt, ...) * which wish to use the default allocators above */ -void lwgeom_install_default_allocators() +void lwgeom_install_default_allocators(void) { lwalloc_var = default_allocator; lwrealloc_var = default_reallocator;