[GRASS-SVN] r55360 - in grass-addons/grass6/raster: r.stream.angle r.stream.del r.stream.pos

svn_grass at osgeo.org svn_grass at osgeo.org
Wed Mar 13 07:01:07 PDT 2013


Author: neteler
Date: 2013-03-13 07:01:06 -0700 (Wed, 13 Mar 2013)
New Revision: 55360

Modified:
   grass-addons/grass6/raster/r.stream.angle/global.h
   grass-addons/grass6/raster/r.stream.del/global.h
   grass-addons/grass6/raster/r.stream.pos/global.h
Log:
r.stream.*: fix compilation issues

Modified: grass-addons/grass6/raster/r.stream.angle/global.h
===================================================================
--- grass-addons/grass6/raster/r.stream.angle/global.h	2013-03-13 13:42:24 UTC (rev 55359)
+++ grass-addons/grass6/raster/r.stream.angle/global.h	2013-03-13 14:01:06 UTC (rev 55360)
@@ -132,10 +132,10 @@
 GLOBAL struct Cell_head window;
 GLOBAL char *in_dirs, *in_streams, *in_elev;	/* input dirrection and accumulation raster names */
 
-char *out_vector;
-char *out_table_rels;
+GLOBAL char *out_vector;
+GLOBAL char *out_table_rels;
 
-struct Map_info Out;
+GLOBAL struct Map_info Out;
 
 GLOBAL int seg_length;
 GLOBAL int seg_outlet;
@@ -158,12 +158,12 @@
 GLOBAL SEGMENTS *seg_hack;
 */
 
-int *springs, *outlets;
-int springs_num, outlets_num;
-int stream_num;
+GLOBAL int *springs, *outlets;
+GLOBAL int springs_num, outlets_num;
+GLOBAL int stream_num;
 
-struct line_pnts *Segments;
-struct line_cats *Cats;
+GLOBAL struct line_pnts *Segments;
+GLOBAL struct line_cats *Cats;
 
 
 

Modified: grass-addons/grass6/raster/r.stream.del/global.h
===================================================================
--- grass-addons/grass6/raster/r.stream.del/global.h	2013-03-13 13:42:24 UTC (rev 55359)
+++ grass-addons/grass6/raster/r.stream.del/global.h	2013-03-13 14:01:06 UTC (rev 55360)
@@ -43,7 +43,7 @@
 
 GLOBAL int nrows, ncols; 
 
-SPRING *springs;
+GLOBAL SPRING *springs;
 
 GLOBAL struct History history;	/* holds meta-data (title, comments,..) */
 

Modified: grass-addons/grass6/raster/r.stream.pos/global.h
===================================================================
--- grass-addons/grass6/raster/r.stream.pos/global.h	2013-03-13 13:42:24 UTC (rev 55359)
+++ grass-addons/grass6/raster/r.stream.pos/global.h	2013-03-13 14:01:06 UTC (rev 55360)
@@ -68,7 +68,7 @@
 GLOBAL char *in_dirs, *in_streams, *out_streams, *out_streams_length;	/* input dirrection and accumulation raster names */
 GLOBAL int seq_cats;
 GLOBAL int multipier;
-int stream_num;
+GLOBAL int stream_num;
 
 GLOBAL CELL **dirs, **streams;	/* matrix with input data */
 GLOBAL FCELL **streams_length;



More information about the grass-commit mailing list