[GRASS-SVN] r51336 - grass-addons/grass7/raster/r.hydrodem

svn_grass at osgeo.org svn_grass at osgeo.org
Mon Apr 9 15:35:40 EDT 2012


Author: mmetz
Date: 2012-04-09 12:35:40 -0700 (Mon, 09 Apr 2012)
New Revision: 51336

Modified:
   grass-addons/grass7/raster/r.hydrodem/local_proto.h
   grass-addons/grass7/raster/r.hydrodem/main.c
Log:
r.hydrodem: fix declarations

Modified: grass-addons/grass7/raster/r.hydrodem/local_proto.h
===================================================================
--- grass-addons/grass7/raster/r.hydrodem/local_proto.h	2012-04-09 19:33:13 UTC (rev 51335)
+++ grass-addons/grass7/raster/r.hydrodem/local_proto.h	2012-04-09 19:35:40 UTC (rev 51336)
@@ -42,8 +42,9 @@
     int n_alloc;          /* n allocated tributaries */
     int *trib;
     double *acc;
-} *stream_node;
+};
 
+extern struct snode *stream_node;
 extern int nrows, ncols;
 extern unsigned int n_search_points, n_points, nxt_avail_pt;
 extern unsigned int heap_size;

Modified: grass-addons/grass7/raster/r.hydrodem/main.c
===================================================================
--- grass-addons/grass7/raster/r.hydrodem/main.c	2012-04-09 19:33:13 UTC (rev 51335)
+++ grass-addons/grass7/raster/r.hydrodem/main.c	2012-04-09 19:35:40 UTC (rev 51336)
@@ -20,6 +20,7 @@
 #include <grass/glocale.h>
 #include "local_proto.h"
 
+extern struct snode *stream_node;
 int nrows, ncols;
 unsigned int n_search_points, n_points, nxt_avail_pt;
 unsigned int heap_size;



More information about the grass-commit mailing list