[GRASS-SVN] r70952 - in grass-addons/grass7/raster/r.pi: . r.pi.grow r.pi.lm

svn_grass at osgeo.org svn_grass at osgeo.org
Tue Apr 25 13:10:05 PDT 2017


Author: mmetz
Date: 2017-04-25 13:10:04 -0700 (Tue, 25 Apr 2017)
New Revision: 70952

Modified:
   grass-addons/grass7/raster/r.pi/Makefile
   grass-addons/grass7/raster/r.pi/r.pi.grow/local_proto.h
   grass-addons/grass7/raster/r.pi/r.pi.lm/frag.c
Log:
r.pi: fix code reorganisation

Modified: grass-addons/grass7/raster/r.pi/Makefile
===================================================================
--- grass-addons/grass7/raster/r.pi/Makefile	2017-04-25 17:53:26 UTC (rev 70951)
+++ grass-addons/grass7/raster/r.pi/Makefile	2017-04-25 20:10:04 UTC (rev 70952)
@@ -5,7 +5,7 @@
 SUBDIRS = \
 	r.pi.library \
 	r.pi.corearea \
-	r.pi.corrwin \
+	r.pi.corr.mw \
 	r.pi.csr.mw \
 	r.pi.energy \
 	r.pi.energy.pr \

Modified: grass-addons/grass7/raster/r.pi/r.pi.grow/local_proto.h
===================================================================
--- grass-addons/grass7/raster/r.pi/r.pi.grow/local_proto.h	2017-04-25 17:53:26 UTC (rev 70951)
+++ grass-addons/grass7/raster/r.pi/r.pi.grow/local_proto.h	2017-04-25 20:10:04 UTC (rev 70952)
@@ -17,11 +17,6 @@
 #define GLOBAL extern
 #endif
 
-typedef struct
-{
-    int x, y;
-} Position;
-
 typedef int (f_method) (Position *, int, int, int *, int, int);
 
 /* func.c */

Modified: grass-addons/grass7/raster/r.pi/r.pi.lm/frag.c
===================================================================
--- grass-addons/grass7/raster/r.pi/r.pi.lm/frag.c	2017-04-25 17:53:26 UTC (rev 70951)
+++ grass-addons/grass7/raster/r.pi/r.pi.lm/frag.c	2017-04-25 20:10:04 UTC (rev 70952)
@@ -1,10 +1,5 @@
 #include "local_proto.h"
 
-typedef struct
-{
-    int x, y;
-} Position;
-
 int getNeighbors(Position * res, DCELL * map, int x, int y, int nx, int ny,
 		 int nbr_cnt);
 



More information about the grass-commit mailing list