From: Sandro Santilli Date: Wed, 17 Oct 2012 14:16:46 +0000 (+0000) Subject: Move trim_trailing_zeros out of liblwgeom.h (#2054) X-Git-Tag: 2.1.0beta2~518 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=ebfbe51976752916b3ef2a7a29a1dd83e28e7b77;p=postgis Move trim_trailing_zeros out of liblwgeom.h (#2054) git-svn-id: http://svn.osgeo.org/postgis/trunk@10454 b70326c6-7e19-0410-871a-916f4a2858ee --- diff --git a/liblwgeom/liblwgeom.h.in b/liblwgeom/liblwgeom.h.in index e213e6c4c..595364bff 100644 --- a/liblwgeom/liblwgeom.h.in +++ b/liblwgeom/liblwgeom.h.in @@ -1792,7 +1792,6 @@ extern void *lwrealloc(void *mem, size_t size); extern void lwfree(void *mem); /* Utilities */ -extern void trim_trailing_zeros(char *num); extern char *lwmessage_truncate(char *str, int startpos, int endpos, int maxlength, int truncdirection); diff --git a/liblwgeom/liblwgeom_internal.h b/liblwgeom/liblwgeom_internal.h index 2a4edcda1..89491bf23 100644 --- a/liblwgeom/liblwgeom_internal.h +++ b/liblwgeom/liblwgeom_internal.h @@ -405,5 +405,8 @@ double gbox_angular_height(const GBOX* gbox); double gbox_angular_width(const GBOX* gbox); int gbox_centroid(const GBOX* gbox, POINT2D* out); +/* Utilities */ +extern void trim_trailing_zeros(char *num); + #endif /* _LIBLWGEOM_INTERNAL_H */