Browse Source

Eliminate warnings, clean-up

git-svn-id: https://svn.osgeo.org/grass/grass/trunk@39005 15284696-431f-4ddb-bdfa-cd5b030d7da7
Glynn Clements 16 years ago
parent
commit
cb05e7bf01
1 changed files with 1 additions and 2 deletions
  1. 1 2
      raster/r.circle/main.c

+ 1 - 2
raster/r.circle/main.c

@@ -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 main(int argc, char *argv[])
     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;