[GRASS-SVN] r40358 - grass-addons/raster/r.stream.basins
svn_grass at osgeo.org
svn_grass at osgeo.org
Sat Jan 9 19:09:09 EST 2010
Author: glynn
Date: 2010-01-09 19:09:08 -0500 (Sat, 09 Jan 2010)
New Revision: 40358
Modified:
grass-addons/raster/r.stream.basins/catchment.c
grass-addons/raster/r.stream.basins/global.h
grass-addons/raster/r.stream.basins/io.c
grass-addons/raster/r.stream.basins/main.c
Log:
Include <grass/glocale.h> last
(to avoid issues with libintl redefining "printf" on Windows)
Modified: grass-addons/raster/r.stream.basins/catchment.c
===================================================================
--- grass-addons/raster/r.stream.basins/catchment.c 2010-01-09 14:41:54 UTC (rev 40357)
+++ grass-addons/raster/r.stream.basins/catchment.c 2010-01-10 00:09:08 UTC (rev 40358)
@@ -1,4 +1,3 @@
-#include <grass/glocale.h>
#include "global.h"
/*
Modified: grass-addons/raster/r.stream.basins/global.h
===================================================================
--- grass-addons/raster/r.stream.basins/global.h 2010-01-09 14:41:54 UTC (rev 40357)
+++ grass-addons/raster/r.stream.basins/global.h 2010-01-10 00:09:08 UTC (rev 40358)
@@ -4,6 +4,7 @@
#include <math.h>
#include <grass/gis.h>
#include <grass/Vect.h>
+#include <grass/glocale.h>
/* define */
Modified: grass-addons/raster/r.stream.basins/io.c
===================================================================
--- grass-addons/raster/r.stream.basins/io.c 2010-01-09 14:41:54 UTC (rev 40357)
+++ grass-addons/raster/r.stream.basins/io.c 2010-01-10 00:09:08 UTC (rev 40358)
@@ -1,4 +1,3 @@
-#include <grass/glocale.h>
#include "global.h"
int open_raster(char *mapname)
Modified: grass-addons/raster/r.stream.basins/main.c
===================================================================
--- grass-addons/raster/r.stream.basins/main.c 2010-01-09 14:41:54 UTC (rev 40357)
+++ grass-addons/raster/r.stream.basins/main.c 2010-01-10 00:09:08 UTC (rev 40358)
@@ -20,7 +20,6 @@
*
*****************************************************************************/
#define MAIN
-#include <grass/glocale.h>
#include "global.h"
/*
More information about the grass-commit
mailing list