[GRASS-SVN] r39005 - grass/trunk/raster/r.circle

svn_grass at osgeo.org svn_grass at osgeo.org
Sat Sep 5 14:19:11 EDT 2009


Author: glynn
Date: 2009-09-05 14:19:11 -0400 (Sat, 05 Sep 2009)
New Revision: 39005

Modified:
   grass/trunk/raster/r.circle/main.c
Log:
Eliminate warnings, clean-up


Modified: grass/trunk/raster/r.circle/main.c
===================================================================
--- grass/trunk/raster/r.circle/main.c	2009-09-05 18:17:40 UTC (rev 39004)
+++ grass/trunk/raster/r.circle/main.c	2009-09-05 18:19:11 UTC (rev 39005)
@@ -24,7 +24,6 @@
 #include <grass/raster.h>
 #include <grass/glocale.h>
 
-typedef int FILEDESC;
 static double distance(double *, double *, double, double, int);
 
 #ifndef HUGE_VAL
@@ -41,7 +40,7 @@
     int *int_buf;
     struct Cell_head w;
     struct History history;
-    FILEDESC cellfile = (FILEDESC) NULL;
+    int cellfile;
     double east, north, pt[2], cur[2], row, col, fmult;
     double fmin, fmax;
     int binary;



More information about the grass-commit mailing list