[postgis-commits] svn - r2972 - trunk/liblwgeom
postgis-commits at postgis.refractions.net
postgis-commits at postgis.refractions.net
Tue Sep 16 15:43:32 PDT 2008
Author: mcayland
Date: 2008-09-16 15:43:31 -0700 (Tue, 16 Sep 2008)
New Revision: 2972
Modified:
trunk/liblwgeom/liblwgeom.h
trunk/liblwgeom/lwsegmentize.c
trunk/liblwgeom/lwutil.c
Log:
Silence a few more compiler warnings that had appeared during my last few parser commits.
Modified: trunk/liblwgeom/liblwgeom.h
===================================================================
--- trunk/liblwgeom/liblwgeom.h 2008-09-16 22:29:54 UTC (rev 2971)
+++ trunk/liblwgeom/liblwgeom.h 2008-09-16 22:43:31 UTC (rev 2972)
@@ -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 @@
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);
Modified: trunk/liblwgeom/lwsegmentize.c
===================================================================
--- trunk/liblwgeom/lwsegmentize.c 2008-09-16 22:29:54 UTC (rev 2971)
+++ trunk/liblwgeom/lwsegmentize.c 2008-09-16 22:43:31 UTC (rev 2972)
@@ -1044,4 +1044,5 @@
default:
return lwgeom_clone(geom);
}
-}
\ No newline at end of file
+}
+
Modified: trunk/liblwgeom/lwutil.c
===================================================================
--- trunk/liblwgeom/lwutil.c 2008-09-16 22:29:54 UTC (rev 2971)
+++ trunk/liblwgeom/lwutil.c 2008-09-16 22:43:31 UTC (rev 2972)
@@ -178,7 +178,7 @@
* 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;
More information about the postgis-commits
mailing list