[GRASS-SVN] r34803 - grass/trunk/raster/r.surf.fractal
svn_grass at osgeo.org
svn_grass at osgeo.org
Mon Dec 8 09:06:44 EST 2008
Author: glynn
Date: 2008-12-08 09:06:44 -0500 (Mon, 08 Dec 2008)
New Revision: 34803
Modified:
grass/trunk/raster/r.surf.fractal/main.c
grass/trunk/raster/r.surf.fractal/process.c
Log:
Remove duplicate #include <grass/glocale.h>
#include <grass/gmath.h> must go last due to g2c.h "quirks"
Modified: grass/trunk/raster/r.surf.fractal/main.c
===================================================================
--- grass/trunk/raster/r.surf.fractal/main.c 2008-12-08 14:05:20 UTC (rev 34802)
+++ grass/trunk/raster/r.surf.fractal/main.c 2008-12-08 14:06:44 UTC (rev 34803)
@@ -13,8 +13,6 @@
*****************************************************************************/
#include <grass/glocale.h>
-#include <grass/glocale.h>
-
#include "frac.h"
const char
Modified: grass/trunk/raster/r.surf.fractal/process.c
===================================================================
--- grass/trunk/raster/r.surf.fractal/process.c 2008-12-08 14:05:20 UTC (rev 34802)
+++ grass/trunk/raster/r.surf.fractal/process.c 2008-12-08 14:06:44 UTC (rev 34803)
@@ -13,9 +13,10 @@
/***************************************************************************/
-#include <grass/gmath.h>
#include <grass/glocale.h>
#include "frac.h"
+/* gmath.h must go last, as it can interfere with ANSI headers */
+#include <grass/gmath.h>
int process(void)
{
More information about the grass-commit
mailing list