Browse Source

Don't include <grass/raster.h> where not needed

git-svn-id: https://svn.osgeo.org/grass/grass/trunk@38020 15284696-431f-4ddb-bdfa-cd5b030d7da7
Glynn Clements 16 years ago
parent
commit
cef093c56b
100 changed files with 0 additions and 102 deletions
  1. 0 1
      display/d.graph/graphics.c
  2. 0 1
      display/d.grid/main.c
  3. 0 1
      display/d.grid/plot.c
  4. 0 1
      display/d.grid/plotborder.c
  5. 0 1
      display/d.histogram/draw_slice.c
  6. 0 1
      display/d.labels/do_labels.c
  7. 0 1
      display/d.labels/main.c
  8. 0 1
      display/d.path/select.c
  9. 0 1
      display/d.thematic.area/area.c
  10. 0 1
      display/d.title/fancy.c
  11. 0 1
      display/d.title/normal.c
  12. 0 1
      display/d.vect.chart/bar.c
  13. 0 1
      display/d.vect.chart/pie.c
  14. 0 1
      display/d.vect.chart/plot.c
  15. 0 1
      display/d.vect/attr.c
  16. 0 1
      display/d.vect/dir.c
  17. 0 1
      display/d.vect/label.c
  18. 0 1
      display/d.vect/topo.c
  19. 0 1
      display/d.vect/utils.c
  20. 0 1
      display/d.vect/zcoor.c
  21. 0 1
      general/g.mremove/wc2regex.c
  22. 0 1
      general/g.region/printwindow.c
  23. 0 1
      general/manage/lister/vector.c
  24. 0 1
      imagery/i.cca/matrix.c
  25. 0 1
      imagery/i.cca/stats.c
  26. 0 1
      imagery/i.cluster/checkpt.c
  27. 0 1
      imagery/i.cluster/print1.c
  28. 0 1
      imagery/i.cluster/print2.c
  29. 0 1
      imagery/i.cluster/print3.c
  30. 0 1
      imagery/i.cluster/print4.c
  31. 0 1
      imagery/i.cluster/print5.c
  32. 0 1
      imagery/i.cluster/print6.c
  33. 0 1
      imagery/i.cluster/timer.c
  34. 0 1
      imagery/i.gensig/alloc.c
  35. 0 1
      imagery/i.gensig/can_invert.c
  36. 0 1
      imagery/i.gensig/eigen.c
  37. 0 1
      imagery/i.gensig/parse.c
  38. 0 1
      imagery/i.gensigset/invert.c
  39. 0 1
      imagery/i.gensigset/main.c
  40. 0 1
      imagery/i.gensigset/parse.c
  41. 0 1
      imagery/i.his.rgb/his2rgb.c
  42. 0 1
      imagery/i.maxlik/invert.c
  43. 0 1
      imagery/i.rectify/crs.c
  44. 0 1
      imagery/i.rgb.his/rgb2his.c
  45. 0 1
      imagery/i.smap/decimate.c
  46. 0 1
      imagery/i.smap/interp.c
  47. 0 1
      imagery/i.smap/invert.c
  48. 0 1
      imagery/i.smap/multialloc.c
  49. 0 1
      imagery/i.smap/parse.c
  50. 0 1
      ps/ps.map/catval.c
  51. 0 1
      ps/ps.map/distance.c
  52. 0 1
      ps/ps.map/do_geogrid.c
  53. 0 1
      ps/ps.map/do_masking.c
  54. 0 1
      ps/ps.map/do_plt.c
  55. 0 1
      ps/ps.map/do_psfiles.c
  56. 0 1
      ps/ps.map/do_vectors.c
  57. 0 1
      ps/ps.map/error.c
  58. 0 1
      ps/ps.map/get_font.c
  59. 0 1
      ps/ps.map/input.c
  60. 0 1
      ps/ps.map/makeprocs.c
  61. 0 1
      ps/ps.map/map_setup.c
  62. 0 1
      ps/ps.map/parse_list.c
  63. 0 1
      ps/ps.map/ps_info.h
  64. 0 1
      ps/ps.map/r_labels.c
  65. 0 1
      ps/ps.map/read_cfg.c
  66. 0 1
      ps/ps.map/scale.c
  67. 0 1
      ps/ps.map/scan_gis.c
  68. 0 1
      ps/ps.map/session.c
  69. 0 1
      ps/ps.map/vect.c
  70. 0 1
      ps/ps.map/vector.c
  71. 0 2
      raster/r.buffer/distance.h
  72. 0 1
      raster/r.buffer/find_dist.c
  73. 0 1
      raster/r.buffer/init.c
  74. 0 1
      raster/r.carve/enforce.h
  75. 0 1
      raster/r.carve/vect.c
  76. 0 2
      raster/r.coin/coin.h
  77. 0 1
      raster/r.colors/local_proto.h
  78. 0 1
      raster/r.cost/btree.c
  79. 0 1
      raster/r.cost/memory.c
  80. 0 2
      raster/r.cross/glob.h
  81. 0 1
      raster/r.describe/main.c
  82. 0 1
      raster/r.describe/tree.c
  83. 0 1
      raster/r.distance/defs.h
  84. 0 1
      raster/r.distance/main.c
  85. 0 1
      raster/r.distance/parse.c
  86. 0 1
      raster/r.flow/aspect.c
  87. 0 1
      raster/r.flow/aspect.h
  88. 0 1
      raster/r.flow/io.h
  89. 0 1
      raster/r.flow/mem.h
  90. 0 1
      raster/r.flow/r.flow.h
  91. 0 1
      raster/r.in.gridatb/local_proto.h
  92. 0 1
      raster/r.in.gridatb/main.c
  93. 0 1
      raster/r.in.poly/getformat.c
  94. 0 1
      raster/r.in.poly/main.c
  95. 0 1
      raster/r.in.xyz/local_proto.h
  96. 0 1
      raster/r.info/reclas_txt.c
  97. 0 1
      raster/r.kappa/calc_kappa.c
  98. 0 1
      raster/r.kappa/kappa.h
  99. 0 1
      raster/r.kappa/prt_mat.c
  100. 0 0
      raster/r.kappa/stats.c

+ 0 - 1
display/d.graph/graphics.c

@@ -1,6 +1,5 @@
 #include <string.h>
 #include <string.h>
 #include <grass/gis.h>
 #include <grass/gis.h>
-#include <grass/raster.h>
 #include <grass/glocale.h>
 #include <grass/glocale.h>
 
 
 #include "local_proto.h"
 #include "local_proto.h"

+ 0 - 1
display/d.grid/main.c

@@ -21,7 +21,6 @@
 #include <stdlib.h>
 #include <stdlib.h>
 #include <string.h>
 #include <string.h>
 #include <grass/gis.h>
 #include <grass/gis.h>
-#include <grass/raster.h>
 #include <grass/display.h>
 #include <grass/display.h>
 #include <grass/gprojects.h>
 #include <grass/gprojects.h>
 #include <grass/glocale.h>
 #include <grass/glocale.h>

+ 0 - 1
display/d.grid/plot.c

@@ -2,7 +2,6 @@
 #include <string.h>
 #include <string.h>
 
 
 #include <grass/gis.h>
 #include <grass/gis.h>
-#include <grass/raster.h>
 #include <grass/display.h>
 #include <grass/display.h>
 #include <grass/gprojects.h>
 #include <grass/gprojects.h>
 #include <grass/glocale.h>
 #include <grass/glocale.h>

+ 0 - 1
display/d.grid/plotborder.c

@@ -1,6 +1,5 @@
 #include <math.h>
 #include <math.h>
 #include <grass/gis.h>
 #include <grass/gis.h>
-#include <grass/raster.h>
 #include <grass/display.h>
 #include <grass/display.h>
 
 
 int plot_border(double grid_size, double east, double north)
 int plot_border(double grid_size, double east, double north)

+ 0 - 1
display/d.histogram/draw_slice.c

@@ -1,7 +1,6 @@
 #include <math.h>
 #include <math.h>
 #include <grass/display.h>
 #include <grass/display.h>
 #include <grass/gis.h>
 #include <grass/gis.h>
-#include <grass/raster.h>
 
 
 char percent[] = "%";
 char percent[] = "%";
 
 

+ 0 - 1
display/d.labels/do_labels.c

@@ -3,7 +3,6 @@
 #include <stdlib.h>
 #include <stdlib.h>
 #include <math.h>
 #include <math.h>
 #include <grass/gis.h>
 #include <grass/gis.h>
-#include <grass/raster.h>
 #include <grass/display.h>
 #include <grass/display.h>
 #include <grass/glocale.h>
 #include <grass/glocale.h>
 #include "local_proto.h"
 #include "local_proto.h"

+ 0 - 1
display/d.labels/main.c

@@ -19,7 +19,6 @@
 #include <stdlib.h>
 #include <stdlib.h>
 #include <math.h>
 #include <math.h>
 #include <grass/gis.h>
 #include <grass/gis.h>
-#include <grass/raster.h>
 #include <grass/display.h>
 #include <grass/display.h>
 #include "local_proto.h"
 #include "local_proto.h"
 #include <grass/glocale.h>
 #include <grass/glocale.h>

+ 0 - 1
display/d.path/select.c

@@ -3,7 +3,6 @@
 #include <unistd.h>
 #include <unistd.h>
 #include <math.h>
 #include <math.h>
 #include <grass/gis.h>
 #include <grass/gis.h>
-#include <grass/raster.h>
 #include <grass/display.h>
 #include <grass/display.h>
 #include <grass/Vect.h>
 #include <grass/Vect.h>
 #include <grass/colors.h>
 #include <grass/colors.h>

+ 0 - 1
display/d.thematic.area/area.c

@@ -4,7 +4,6 @@
 #include <string.h>
 #include <string.h>
 #include <stdlib.h>
 #include <stdlib.h>
 #include <grass/gis.h>
 #include <grass/gis.h>
-#include <grass/raster.h>
 #include <grass/Vect.h>
 #include <grass/Vect.h>
 #include <grass/display.h>
 #include <grass/display.h>
 #include <grass/colors.h>
 #include <grass/colors.h>

+ 0 - 1
display/d.title/fancy.c

@@ -1,5 +1,4 @@
 #include <grass/gis.h>
 #include <grass/gis.h>
-#include <grass/raster.h>
 #include "options.h"
 #include "options.h"
 
 
 void fancy(struct Cell_head *window, struct Categories *cats, FILE * fp)
 void fancy(struct Cell_head *window, struct Categories *cats, FILE * fp)

+ 0 - 1
display/d.title/normal.c

@@ -1,5 +1,4 @@
 #include <grass/gis.h>
 #include <grass/gis.h>
-#include <grass/raster.h>
 #include "options.h"
 #include "options.h"
 #include "local_proto.h"
 #include "local_proto.h"
 
 

+ 0 - 1
display/d.vect.chart/bar.c

@@ -1,5 +1,4 @@
 #include <grass/gis.h>
 #include <grass/gis.h>
-#include <grass/raster.h>
 #include <grass/Vect.h>
 #include <grass/Vect.h>
 #include <grass/dbmi.h>
 #include <grass/dbmi.h>
 #include <grass/display.h>
 #include <grass/display.h>

+ 0 - 1
display/d.vect.chart/pie.c

@@ -1,6 +1,5 @@
 #include <math.h>
 #include <math.h>
 #include <grass/gis.h>
 #include <grass/gis.h>
-#include <grass/raster.h>
 #include <grass/Vect.h>
 #include <grass/Vect.h>
 #include <grass/dbmi.h>
 #include <grass/dbmi.h>
 #include <grass/display.h>
 #include <grass/display.h>

+ 0 - 1
display/d.vect.chart/plot.c

@@ -1,5 +1,4 @@
 #include <grass/gis.h>
 #include <grass/gis.h>
-#include <grass/raster.h>
 #include <grass/Vect.h>
 #include <grass/Vect.h>
 #include <grass/dbmi.h>
 #include <grass/dbmi.h>
 #include <grass/display.h>
 #include <grass/display.h>

+ 0 - 1
display/d.vect/attr.c

@@ -1,6 +1,5 @@
 #include <string.h>
 #include <string.h>
 #include <grass/gis.h>
 #include <grass/gis.h>
-#include <grass/raster.h>
 #include <grass/Vect.h>
 #include <grass/Vect.h>
 #include <grass/display.h>
 #include <grass/display.h>
 #include <grass/dbmi.h>
 #include <grass/dbmi.h>

+ 0 - 1
display/d.vect/dir.c

@@ -1,5 +1,4 @@
 #include <grass/gis.h>
 #include <grass/gis.h>
-#include <grass/raster.h>
 #include <grass/Vect.h>
 #include <grass/Vect.h>
 #include <grass/display.h>
 #include <grass/display.h>
 #include <grass/glocale.h>
 #include <grass/glocale.h>

+ 0 - 1
display/d.vect/label.c

@@ -1,5 +1,4 @@
 #include <grass/gis.h>
 #include <grass/gis.h>
-#include <grass/raster.h>
 #include <grass/Vect.h>
 #include <grass/Vect.h>
 #include <grass/display.h>
 #include <grass/display.h>
 #include <grass/glocale.h>
 #include <grass/glocale.h>

+ 0 - 1
display/d.vect/topo.c

@@ -1,5 +1,4 @@
 #include <grass/gis.h>
 #include <grass/gis.h>
-#include <grass/raster.h>
 #include <grass/Vect.h>
 #include <grass/Vect.h>
 #include <grass/display.h>
 #include <grass/display.h>
 #include <grass/glocale.h>
 #include <grass/glocale.h>

+ 0 - 1
display/d.vect/utils.c

@@ -1,5 +1,4 @@
 #include <grass/gis.h>
 #include <grass/gis.h>
-#include <grass/raster.h>
 #include <grass/Vect.h>
 #include <grass/Vect.h>
 #include <grass/display.h>
 #include <grass/display.h>
 #include <grass/glocale.h>
 #include <grass/glocale.h>

+ 0 - 1
display/d.vect/zcoor.c

@@ -1,7 +1,6 @@
 /* Print z coordinate value for each node */
 /* Print z coordinate value for each node */
 
 
 #include <grass/gis.h>
 #include <grass/gis.h>
-#include <grass/raster.h>
 #include <grass/Vect.h>
 #include <grass/Vect.h>
 #include <grass/display.h>
 #include <grass/display.h>
 #include "local_proto.h"
 #include "local_proto.h"

+ 0 - 1
general/g.mremove/wc2regex.c

@@ -1,5 +1,4 @@
 #include <grass/gis.h>
 #include <grass/gis.h>
-#include <grass/raster.h>
 
 
 char *wc2regex(const char *wc)
 char *wc2regex(const char *wc)
 {
 {

+ 0 - 1
general/g.region/printwindow.c

@@ -2,7 +2,6 @@
 #include <stdlib.h>
 #include <stdlib.h>
 #include <projects.h>
 #include <projects.h>
 #include <grass/gis.h>
 #include <grass/gis.h>
-#include <grass/raster.h>
 #include <grass/gprojects.h>
 #include <grass/gprojects.h>
 #include <grass/glocale.h>
 #include <grass/glocale.h>
 #include "local_proto.h"
 #include "local_proto.h"

+ 0 - 1
general/manage/lister/vector.c

@@ -1,7 +1,6 @@
 #include <stdlib.h>
 #include <stdlib.h>
 #include <string.h>
 #include <string.h>
 #include <grass/gis.h>
 #include <grass/gis.h>
-#include <grass/raster.h>
 #include <grass/Vect.h>
 #include <grass/Vect.h>
 
 
 int main(int argc, char *argv[])
 int main(int argc, char *argv[])

+ 0 - 1
imagery/i.cca/matrix.c

@@ -1,6 +1,5 @@
 #include <math.h>
 #include <math.h>
 #include <grass/gis.h>
 #include <grass/gis.h>
-#include <grass/raster.h>
 #include <grass/gmath.h>
 #include <grass/gmath.h>
 #include "local_proto.h"
 #include "local_proto.h"
 
 

+ 0 - 1
imagery/i.cca/stats.c

@@ -1,5 +1,4 @@
 #include <grass/gis.h>
 #include <grass/gis.h>
-#include <grass/raster.h>
 #include "local_proto.h"
 #include "local_proto.h"
 
 
 
 

+ 0 - 1
imagery/i.cluster/checkpt.c

@@ -1,5 +1,4 @@
 #include <grass/gis.h>
 #include <grass/gis.h>
-#include <grass/raster.h>
 #include <grass/glocale.h>
 #include <grass/glocale.h>
 #include "global.h"
 #include "global.h"
 #include "local_proto.h"
 #include "local_proto.h"

+ 0 - 1
imagery/i.cluster/print1.c

@@ -1,5 +1,4 @@
 #include <grass/gis.h>
 #include <grass/gis.h>
-#include <grass/raster.h>
 #include <grass/glocale.h>
 #include <grass/glocale.h>
 #include <grass/imagery.h>
 #include <grass/imagery.h>
 #include <grass/cluster.h>
 #include <grass/cluster.h>

+ 0 - 1
imagery/i.cluster/print2.c

@@ -1,5 +1,4 @@
 #include <grass/gis.h>
 #include <grass/gis.h>
-#include <grass/raster.h>
 #include <grass/glocale.h>
 #include <grass/glocale.h>
 #include <grass/imagery.h>
 #include <grass/imagery.h>
 #include <grass/cluster.h>
 #include <grass/cluster.h>

+ 0 - 1
imagery/i.cluster/print3.c

@@ -1,5 +1,4 @@
 #include <grass/gis.h>
 #include <grass/gis.h>
-#include <grass/raster.h>
 #include <grass/glocale.h>
 #include <grass/glocale.h>
 #include <grass/imagery.h>
 #include <grass/imagery.h>
 #include <grass/cluster.h>
 #include <grass/cluster.h>

+ 0 - 1
imagery/i.cluster/print4.c

@@ -1,5 +1,4 @@
 #include <grass/gis.h>
 #include <grass/gis.h>
-#include <grass/raster.h>
 #include <grass/glocale.h>
 #include <grass/glocale.h>
 #include <grass/imagery.h>
 #include <grass/imagery.h>
 #include <grass/cluster.h>
 #include <grass/cluster.h>

+ 0 - 1
imagery/i.cluster/print5.c

@@ -1,5 +1,4 @@
 #include <grass/gis.h>
 #include <grass/gis.h>
-#include <grass/raster.h>
 #include <grass/glocale.h>
 #include <grass/glocale.h>
 #include <grass/imagery.h>
 #include <grass/imagery.h>
 #include <grass/cluster.h>
 #include <grass/cluster.h>

+ 0 - 1
imagery/i.cluster/print6.c

@@ -1,5 +1,4 @@
 #include <grass/gis.h>
 #include <grass/gis.h>
-#include <grass/raster.h>
 #include <grass/glocale.h>
 #include <grass/glocale.h>
 #include <grass/imagery.h>
 #include <grass/imagery.h>
 #include <grass/cluster.h>
 #include <grass/cluster.h>

+ 0 - 1
imagery/i.cluster/timer.c

@@ -1,6 +1,5 @@
 #include <stdio.h>
 #include <stdio.h>
 #include <grass/gis.h>
 #include <grass/gis.h>
-#include <grass/raster.h>
 #include "global.h"
 #include "global.h"
 
 
 
 

+ 0 - 1
imagery/i.gensig/alloc.c

@@ -1,5 +1,4 @@
 #include <grass/gis.h>
 #include <grass/gis.h>
-#include <grass/raster.h>
 #include "local_proto.h"
 #include "local_proto.h"
 
 
 double *vector(int nl, int nh)
 double *vector(int nl, int nh)

+ 0 - 1
imagery/i.gensig/can_invert.c

@@ -1,6 +1,5 @@
 #include <math.h>
 #include <math.h>
 #include <grass/gis.h>
 #include <grass/gis.h>
-#include <grass/raster.h>
 #include "local_proto.h"
 #include "local_proto.h"
 
 
 int can_invert(double **a, int n)
 int can_invert(double **a, int n)

+ 0 - 1
imagery/i.gensig/eigen.c

@@ -1,5 +1,4 @@
 #include <grass/gis.h>
 #include <grass/gis.h>
-#include <grass/raster.h>
 #include "local_proto.h"
 #include "local_proto.h"
 #include <math.h>
 #include <math.h>
 double **matrix(), *vector();
 double **matrix(), *vector();

+ 0 - 1
imagery/i.gensig/parse.c

@@ -1,6 +1,5 @@
 #include <stdlib.h>
 #include <stdlib.h>
 #include <grass/gis.h>
 #include <grass/gis.h>
-#include <grass/raster.h>
 #include <grass/glocale.h>
 #include <grass/glocale.h>
 #include <grass/imagery.h>
 #include <grass/imagery.h>
 #include "parms.h"
 #include "parms.h"

+ 0 - 1
imagery/i.gensigset/invert.c

@@ -1,5 +1,4 @@
 #include <grass/gis.h>
 #include <grass/gis.h>
-#include <grass/raster.h>
 #include <grass/gmath.h>
 #include <grass/gmath.h>
 
 
 int invert(
 int invert(

+ 0 - 1
imagery/i.gensigset/main.c

@@ -19,7 +19,6 @@
  *****************************************************************************/
  *****************************************************************************/
 #include <stdlib.h>
 #include <stdlib.h>
 #include <grass/gis.h>
 #include <grass/gis.h>
-#include <grass/raster.h>
 #include <grass/imagery.h>
 #include <grass/imagery.h>
 #include <grass/glocale.h>
 #include <grass/glocale.h>
 #include "files.h"
 #include "files.h"

+ 0 - 1
imagery/i.gensigset/parse.c

@@ -1,6 +1,5 @@
 #include <stdlib.h>
 #include <stdlib.h>
 #include <grass/gis.h>
 #include <grass/gis.h>
-#include <grass/raster.h>
 #include <grass/imagery.h>
 #include <grass/imagery.h>
 #include <grass/glocale.h>
 #include <grass/glocale.h>
 #include "parms.h"
 #include "parms.h"

+ 0 - 1
imagery/i.his.rgb/his2rgb.c

@@ -17,7 +17,6 @@ ASSUMPTION:
    each band is processed and written out.   CWU GIS Lab: DBS 8/90 */
    each band is processed and written out.   CWU GIS Lab: DBS 8/90 */
 
 
 #include <grass/gis.h>
 #include <grass/gis.h>
-#include <grass/raster.h>
 #include "globals.h"
 #include "globals.h"
 
 
 void his2rgb(CELL * rowbuffer[3], int columns)
 void his2rgb(CELL * rowbuffer[3], int columns)

+ 0 - 1
imagery/i.maxlik/invert.c

@@ -1,7 +1,6 @@
 #include <stdlib.h>
 #include <stdlib.h>
 #include <math.h>
 #include <math.h>
 #include <grass/gis.h>
 #include <grass/gis.h>
-#include <grass/raster.h>
 #include <grass/glocale.h>
 #include <grass/glocale.h>
 #include "global.h"
 #include "global.h"
 #include "local_proto.h"
 #include "local_proto.h"

+ 0 - 1
imagery/i.rectify/crs.c

@@ -32,7 +32,6 @@
 #include <math.h>
 #include <math.h>
 #include <limits.h>
 #include <limits.h>
 #include <grass/gis.h>
 #include <grass/gis.h>
-#include <grass/raster.h>
 
 
 /*
 /*
    #define MSDOS 1
    #define MSDOS 1

+ 0 - 1
imagery/i.rgb.his/rgb2his.c

@@ -17,7 +17,6 @@ ASSUMPTION:
    each band is processed and written out.   CWU GIS Lab: DBS 8/90 */
    each band is processed and written out.   CWU GIS Lab: DBS 8/90 */
 
 
 #include <grass/gis.h>
 #include <grass/gis.h>
-#include <grass/raster.h>
 #include "globals.h"
 #include "globals.h"
 
 
 void rgb2his(CELL * rowbuffer[3], int columns)
 void rgb2his(CELL * rowbuffer[3], int columns)

+ 0 - 1
imagery/i.smap/decimate.c

@@ -1,5 +1,4 @@
 #include <grass/gis.h>
 #include <grass/gis.h>
-#include <grass/raster.h>
 #include "bouman.h"
 #include "bouman.h"
 #include "region.h"
 #include "region.h"
 
 

+ 0 - 1
imagery/i.smap/interp.c

@@ -1,7 +1,6 @@
 #include <stdlib.h>
 #include <stdlib.h>
 #include <math.h>
 #include <math.h>
 #include <grass/gis.h>
 #include <grass/gis.h>
-#include <grass/raster.h>
 #include <grass/glocale.h>
 #include <grass/glocale.h>
 #include "bouman.h"
 #include "bouman.h"
 #include "region.h"
 #include "region.h"

+ 0 - 1
imagery/i.smap/invert.c

@@ -1,6 +1,5 @@
 #include <math.h>
 #include <math.h>
 #include <grass/gis.h>
 #include <grass/gis.h>
-#include <grass/raster.h>
 #include <grass/gmath.h>
 #include <grass/gmath.h>
 
 
 int invert(
 int invert(

+ 0 - 1
imagery/i.smap/multialloc.c

@@ -2,7 +2,6 @@
 #include <stdio.h>
 #include <stdio.h>
 #include <stdarg.h>
 #include <stdarg.h>
 #include <grass/gis.h>
 #include <grass/gis.h>
-#include <grass/raster.h>
 #include <grass/glocale.h>
 #include <grass/glocale.h>
 
 
 
 

+ 0 - 1
imagery/i.smap/parse.c

@@ -1,6 +1,5 @@
 #include <stdlib.h>
 #include <stdlib.h>
 #include <grass/gis.h>
 #include <grass/gis.h>
-#include <grass/raster.h>
 #include <grass/glocale.h>
 #include <grass/glocale.h>
 #include <grass/imagery.h>
 #include <grass/imagery.h>
 #include "bouman.h"
 #include "bouman.h"

+ 0 - 1
ps/ps.map/catval.c

@@ -16,7 +16,6 @@
  *****************************************************************************/
  *****************************************************************************/
 
 
 #include <grass/gis.h>
 #include <grass/gis.h>
-#include <grass/raster.h>
 #include <grass/Vect.h>
 #include <grass/Vect.h>
 #include <grass/dbmi.h>
 #include <grass/dbmi.h>
 #include <grass/glocale.h>
 #include <grass/glocale.h>

+ 0 - 1
ps/ps.map/distance.c

@@ -1,5 +1,4 @@
 #include <grass/gis.h>
 #include <grass/gis.h>
-#include <grass/raster.h>
 
 
 double distance(double east, double west)
 double distance(double east, double west)
 {
 {

+ 0 - 1
ps/ps.map/do_geogrid.c

@@ -8,7 +8,6 @@
 #include <string.h>
 #include <string.h>
 #include <math.h>
 #include <math.h>
 #include <grass/gis.h>
 #include <grass/gis.h>
-#include <grass/raster.h>
 #include <grass/glocale.h>
 #include <grass/glocale.h>
 #include <grass/gprojects.h>
 #include <grass/gprojects.h>
 
 

+ 0 - 1
ps/ps.map/do_masking.c

@@ -6,7 +6,6 @@
 #include <stdlib.h>
 #include <stdlib.h>
 #include <unistd.h>
 #include <unistd.h>
 #include <grass/gis.h>
 #include <grass/gis.h>
-#include <grass/raster.h>
 #include <grass/glocale.h>
 #include <grass/glocale.h>
 #include "ps_info.h"
 #include "ps_info.h"
 
 

+ 0 - 1
ps/ps.map/do_plt.c

@@ -5,7 +5,6 @@
 
 
 #include <string.h>
 #include <string.h>
 #include <grass/gis.h>
 #include <grass/gis.h>
-#include <grass/raster.h>
 #include <grass/glocale.h>
 #include <grass/glocale.h>
 #include <grass/symbol.h>
 #include <grass/symbol.h>
 #include "clr.h"
 #include "clr.h"

+ 0 - 1
ps/ps.map/do_psfiles.c

@@ -4,7 +4,6 @@
  */
  */
 
 
 #include <grass/gis.h>
 #include <grass/gis.h>
-#include <grass/raster.h>
 #include <grass/glocale.h>
 #include <grass/glocale.h>
 #include "ps_info.h"
 #include "ps_info.h"
 
 

+ 0 - 1
ps/ps.map/do_vectors.c

@@ -8,7 +8,6 @@
 
 
 #include <string.h>
 #include <string.h>
 #include <grass/gis.h>
 #include <grass/gis.h>
-#include <grass/raster.h>
 #include <grass/glocale.h>
 #include <grass/glocale.h>
 #include <grass/Vect.h>
 #include <grass/Vect.h>
 #include <grass/symbol.h>
 #include <grass/symbol.h>

+ 0 - 1
ps/ps.map/error.c

@@ -1,7 +1,6 @@
 #include <stdio.h>
 #include <stdio.h>
 #include <unistd.h>
 #include <unistd.h>
 #include <grass/gis.h>
 #include <grass/gis.h>
-#include <grass/raster.h>
 #include "local_proto.h"
 #include "local_proto.h"
 extern FILE *tracefd;
 extern FILE *tracefd;
 
 

+ 0 - 1
ps/ps.map/get_font.c

@@ -4,7 +4,6 @@
  */
  */
 
 
 #include <grass/gis.h>
 #include <grass/gis.h>
-#include <grass/raster.h>
 
 
 int get_font(char *data)
 int get_font(char *data)
 {
 {

+ 0 - 1
ps/ps.map/input.c

@@ -3,7 +3,6 @@
 #include <unistd.h>
 #include <unistd.h>
 #include <string.h>
 #include <string.h>
 #include <grass/gis.h>
 #include <grass/gis.h>
-#include <grass/raster.h>
 #include "local_proto.h"
 #include "local_proto.h"
 
 
 extern FILE *tracefd;
 extern FILE *tracefd;

+ 0 - 1
ps/ps.map/makeprocs.c

@@ -6,7 +6,6 @@
  */
  */
 
 
 #include <grass/gis.h>
 #include <grass/gis.h>
-#include <grass/raster.h>
 #include <grass/glocale.h>
 #include <grass/glocale.h>
 #include "ps_info.h"
 #include "ps_info.h"
 
 

+ 0 - 1
ps/ps.map/map_setup.c

@@ -4,7 +4,6 @@
  */
  */
 
 
 #include <grass/gis.h>
 #include <grass/gis.h>
-#include <grass/raster.h>
 #include <grass/glocale.h>
 #include <grass/glocale.h>
 #include "ps_info.h"
 #include "ps_info.h"
 #include "group.h"
 #include "group.h"

+ 0 - 1
ps/ps.map/parse_list.c

@@ -20,7 +20,6 @@
  * count will be negative if list is not valid
  * count will be negative if list is not valid
  ********************************************************/
  ********************************************************/
 #include <grass/gis.h>
 #include <grass/gis.h>
-#include <grass/raster.h>
 
 
 int parse_val_list(char *buf, DCELL ** list)
 int parse_val_list(char *buf, DCELL ** list)
 {
 {

+ 0 - 1
ps/ps.map/ps_info.h

@@ -1,5 +1,4 @@
 #include <grass/gis.h>
 #include <grass/gis.h>
-#include <grass/raster.h>
 
 
 /* Font sizes */
 /* Font sizes */
 #define PS_FONT_MAX_SIZE      50
 #define PS_FONT_MAX_SIZE      50

+ 0 - 1
ps/ps.map/r_labels.c

@@ -1,6 +1,5 @@
 #include <string.h>
 #include <string.h>
 #include <grass/gis.h>
 #include <grass/gis.h>
-#include <grass/raster.h>
 #include "labels.h"
 #include "labels.h"
 #include "local_proto.h"
 #include "local_proto.h"
 
 

+ 0 - 1
ps/ps.map/read_cfg.c

@@ -13,7 +13,6 @@
 #include <stdio.h>
 #include <stdio.h>
 #include <math.h>
 #include <math.h>
 #include <grass/gis.h>
 #include <grass/gis.h>
-#include <grass/raster.h>
 #include <grass/glocale.h>
 #include <grass/glocale.h>
 #include "ps_info.h"
 #include "ps_info.h"
 #include "paper.h"
 #include "paper.h"

+ 0 - 1
ps/ps.map/scale.c

@@ -8,7 +8,6 @@
 #include <stdlib.h>
 #include <stdlib.h>
 #include <string.h>
 #include <string.h>
 #include <grass/gis.h>
 #include <grass/gis.h>
-#include <grass/raster.h>
 #include <grass/glocale.h>
 #include <grass/glocale.h>
 #include "local_proto.h"
 #include "local_proto.h"
 #include "ps_info.h"
 #include "ps_info.h"

+ 0 - 1
ps/ps.map/scan_gis.c

@@ -1,7 +1,6 @@
 #include <unistd.h>
 #include <unistd.h>
 #include <string.h>
 #include <string.h>
 #include <grass/gis.h>
 #include <grass/gis.h>
-#include <grass/raster.h>
 #include "local_proto.h"
 #include "local_proto.h"
 
 
 int scan_gis(char *element, char *desc, char *key, char *data,
 int scan_gis(char *element, char *desc, char *key, char *data,

+ 0 - 1
ps/ps.map/session.c

@@ -1,6 +1,5 @@
 #include <stdio.h>
 #include <stdio.h>
 #include <grass/gis.h>
 #include <grass/gis.h>
-#include <grass/raster.h>
 #include "local_proto.h"
 #include "local_proto.h"
 
 
 static char cur[2000];
 static char cur[2000];

+ 0 - 1
ps/ps.map/vect.c

@@ -8,7 +8,6 @@
 #include <math.h>
 #include <math.h>
 #include <grass/Vect.h>
 #include <grass/Vect.h>
 #include <grass/gis.h>
 #include <grass/gis.h>
-#include <grass/raster.h>
 #include "vector.h"
 #include "vector.h"
 
 
 #define LENGTH(DX, DY)  (  sqrt( (DX*DX)+(DY*DY) )  )
 #define LENGTH(DX, DY)  (  sqrt( (DX*DX)+(DY*DY) )  )

+ 0 - 1
ps/ps.map/vector.c

@@ -2,7 +2,6 @@
 #include <stdio.h>
 #include <stdio.h>
 #include <string.h>
 #include <string.h>
 #include <grass/gis.h>
 #include <grass/gis.h>
-#include <grass/raster.h>
 #include "vector.h"
 #include "vector.h"
 
 
 
 

+ 0 - 2
raster/r.buffer/distance.h

@@ -23,8 +23,6 @@
 #define __DISTANCE_H__
 #define __DISTANCE_H__
 
 
 #include <grass/gis.h>
 #include <grass/gis.h>
-#include <grass/raster.h>
-#include <grass/raster.h>
 
 
 struct Distance
 struct Distance
 {
 {

+ 0 - 1
raster/r.buffer/find_dist.c

@@ -20,7 +20,6 @@
 ****************************************************************************/
 ****************************************************************************/
 
 
 #include <grass/gis.h>
 #include <grass/gis.h>
-#include <grass/raster.h>
 #include "distance.h"
 #include "distance.h"
 #include "local_proto.h"
 #include "local_proto.h"
 
 

+ 0 - 1
raster/r.buffer/init.c

@@ -21,7 +21,6 @@
 
 
 #include "distance.h"
 #include "distance.h"
 #include <grass/gis.h>
 #include <grass/gis.h>
-#include <grass/raster.h>
 
 
 int init_grass(void)
 int init_grass(void)
 {
 {

+ 0 - 1
raster/r.carve/enforce.h

@@ -22,7 +22,6 @@
 
 
 #include <stdio.h>
 #include <stdio.h>
 #include <grass/gis.h>
 #include <grass/gis.h>
-#include <grass/raster.h>
 #include <grass/bitmap.h>
 #include <grass/bitmap.h>
 #include <grass/Vect.h>
 #include <grass/Vect.h>
 
 

+ 0 - 1
raster/r.carve/vect.c

@@ -19,7 +19,6 @@
 
 
 #include <stdio.h>
 #include <stdio.h>
 #include <grass/gis.h>
 #include <grass/gis.h>
-#include <grass/raster.h>
 #include "enforce.h"
 #include "enforce.h"
 
 
 
 

+ 0 - 2
raster/r.coin/coin.h

@@ -20,8 +20,6 @@
 #define __COIN_H__
 #define __COIN_H__
 
 
 #include <grass/gis.h>
 #include <grass/gis.h>
-#include <grass/raster.h>
-#include <grass/raster.h>
 
 
 struct stats_table
 struct stats_table
 {
 {

+ 0 - 1
raster/r.colors/local_proto.h

@@ -21,7 +21,6 @@
 #define __LOCAL_PROTO_H__
 #define __LOCAL_PROTO_H__
 
 
 #include <grass/gis.h>
 #include <grass/gis.h>
-#include <grass/raster.h>
 
 
 /* stats.c */
 /* stats.c */
 int get_stats(const char *, const char *, struct Cell_stats *);
 int get_stats(const char *, const char *, struct Cell_stats *);

+ 0 - 1
raster/r.cost/btree.c

@@ -38,7 +38,6 @@
 
 
 
 
 #include <grass/gis.h>
 #include <grass/gis.h>
-#include <grass/raster.h>
 #include "local_proto.h"
 #include "local_proto.h"
 #include "memory.h"
 #include "memory.h"
 #include <stdlib.h>
 #include <stdlib.h>

+ 0 - 1
raster/r.cost/memory.c

@@ -26,7 +26,6 @@
 #include <string.h>
 #include <string.h>
 #include <errno.h>
 #include <errno.h>
 #include <grass/gis.h>
 #include <grass/gis.h>
-#include <grass/raster.h>
 #include "memory.h"
 #include "memory.h"
 
 
 #define NUM_IN_BLOCK	1024*8
 #define NUM_IN_BLOCK	1024*8

+ 0 - 2
raster/r.cross/glob.h

@@ -20,8 +20,6 @@
 #define __R_CROSS_GLOB_H__
 #define __R_CROSS_GLOB_H__
 
 
 #include <grass/gis.h>
 #include <grass/gis.h>
-#include <grass/raster.h>
-#include <grass/raster.h>
 
 
 #define NFILES 30		/* maximum number of layers */
 #define NFILES 30		/* maximum number of layers */
 #define SHIFT 6			/* 2^SHIFT cats per node */
 #define SHIFT 6			/* 2^SHIFT cats per node */

+ 0 - 1
raster/r.describe/main.c

@@ -20,7 +20,6 @@
 #include <string.h>
 #include <string.h>
 #include <stdio.h>
 #include <stdio.h>
 #include <grass/gis.h>
 #include <grass/gis.h>
-#include <grass/raster.h>
 #include "local_proto.h"
 #include "local_proto.h"
 #include <grass/glocale.h>
 #include <grass/glocale.h>
 
 

+ 0 - 1
raster/r.describe/tree.c

@@ -17,7 +17,6 @@
  ***************************************************************************/
  ***************************************************************************/
 
 
 #include <grass/gis.h>
 #include <grass/gis.h>
-#include <grass/raster.h>
 
 
 
 
 #define INCR 10
 #define INCR 10

+ 0 - 1
raster/r.distance/defs.h

@@ -20,7 +20,6 @@
 #define __R_DIST_DEFS_H__
 #define __R_DIST_DEFS_H__
 
 
 #include <grass/gis.h>
 #include <grass/gis.h>
-#include <grass/raster.h>
 #include <grass/glocale.h>
 #include <grass/glocale.h>
 
 
 struct EdgeList			/* keep track of edge cells */
 struct EdgeList			/* keep track of edge cells */

+ 0 - 1
raster/r.distance/main.c

@@ -20,7 +20,6 @@
 #include <stdio.h>
 #include <stdio.h>
 #include "defs.h"
 #include "defs.h"
 #include <grass/gis.h>
 #include <grass/gis.h>
-#include <grass/raster.h>
 #include <grass/glocale.h>
 #include <grass/glocale.h>
 
 
 int main(int argc, char *argv[])
 int main(int argc, char *argv[])

+ 0 - 1
raster/r.distance/parse.c

@@ -20,7 +20,6 @@
 #include <stdio.h>
 #include <stdio.h>
 #include "defs.h"
 #include "defs.h"
 #include <grass/gis.h>
 #include <grass/gis.h>
-#include <grass/raster.h>
 #include <grass/glocale.h>
 #include <grass/glocale.h>
 
 
 void parse(int argc, char *argv[], struct Parms *parms)
 void parse(int argc, char *argv[], struct Parms *parms)

+ 0 - 1
raster/r.flow/aspect.c

@@ -26,7 +26,6 @@
 
 
 #include <math.h>
 #include <math.h>
 #include <grass/gis.h>
 #include <grass/gis.h>
-#include <grass/raster.h>
 #include "r.flow.h"
 #include "r.flow.h"
 
 
 
 

+ 0 - 1
raster/r.flow/aspect.h

@@ -1,5 +1,4 @@
 #include <grass/gis.h>
 #include <grass/gis.h>
-#include <grass/raster.h>
 
 
 /*
 /*
  * aspect_fly: calculates aspect on the fly based on elevation map in z
  * aspect_fly: calculates aspect on the fly based on elevation map in z

+ 0 - 1
raster/r.flow/io.h

@@ -1,5 +1,4 @@
 #include <grass/gis.h>
 #include <grass/gis.h>
-#include <grass/raster.h>
 
 
 /********************************* I/O **********************************/
 /********************************* I/O **********************************/
 
 

+ 0 - 1
raster/r.flow/mem.h

@@ -2,7 +2,6 @@
 /************************** MEMORY MANAGEMENT ***************************/
 /************************** MEMORY MANAGEMENT ***************************/
 
 
 #include <grass/gis.h>
 #include <grass/gis.h>
-#include <grass/raster.h>
 #define KB 1024
 #define KB 1024
 #define MB (KB * KB)
 #define MB (KB * KB)
 #define SEGSINMEM 9
 #define SEGSINMEM 9

+ 0 - 1
raster/r.flow/r.flow.h

@@ -32,7 +32,6 @@
 
 
 #include <math.h>
 #include <math.h>
 #include <grass/gis.h>
 #include <grass/gis.h>
-#include <grass/raster.h>
 #include <grass/segment.h>
 #include <grass/segment.h>
 #include <grass/Vect.h>
 #include <grass/Vect.h>
 #include <grass/bitmap.h>
 #include <grass/bitmap.h>

+ 0 - 1
raster/r.in.gridatb/local_proto.h

@@ -1,6 +1,5 @@
 #include <stdio.h>
 #include <stdio.h>
 #include <grass/gis.h>
 #include <grass/gis.h>
-#include <grass/raster.h>
 
 
 int check_ready(void);
 int check_ready(void);
 int adjcellhd(struct Cell_head *cellhd);
 int adjcellhd(struct Cell_head *cellhd);

+ 0 - 1
raster/r.in.gridatb/main.c

@@ -19,7 +19,6 @@
 #include "local_proto.h"
 #include "local_proto.h"
 
 
 #include <grass/gis.h>
 #include <grass/gis.h>
-#include <grass/raster.h>
 #include <grass/glocale.h>
 #include <grass/glocale.h>
 
 
 struct Cell_head cellhd;
 struct Cell_head cellhd;

+ 0 - 1
raster/r.in.poly/getformat.c

@@ -1,5 +1,4 @@
 #include <grass/gis.h>
 #include <grass/gis.h>
-#include <grass/raster.h>
 #include "format.h"
 #include "format.h"
 
 
 int getformat(FILE * fd)
 int getformat(FILE * fd)

+ 0 - 1
raster/r.in.poly/main.c

@@ -13,7 +13,6 @@
  *****************************************************************************/
  *****************************************************************************/
 #include <stdlib.h>
 #include <stdlib.h>
 #include <grass/gis.h>
 #include <grass/gis.h>
-#include <grass/raster.h>
 #include <grass/glocale.h>
 #include <grass/glocale.h>
 #include "local_proto.h"
 #include "local_proto.h"
 
 

+ 0 - 1
raster/r.in.xyz/local_proto.h

@@ -19,7 +19,6 @@
 
 
 
 
 #include <grass/gis.h>
 #include <grass/gis.h>
-#include <grass/raster.h>
 
 
 
 
 #define BUFFSIZE 256
 #define BUFFSIZE 256

+ 0 - 1
raster/r.info/reclas_txt.c

@@ -1,6 +1,5 @@
 #include <string.h>
 #include <string.h>
 #include <grass/gis.h>
 #include <grass/gis.h>
-#include <grass/raster.h>
 #include "local_proto.h"
 #include "local_proto.h"
 
 
 
 

+ 0 - 1
raster/r.kappa/calc_kappa.c

@@ -1,6 +1,5 @@
 #include <stdlib.h>
 #include <stdlib.h>
 #include <grass/gis.h>
 #include <grass/gis.h>
-#include <grass/raster.h>
 #include <grass/glocale.h>
 #include <grass/glocale.h>
 #include "kappa.h"
 #include "kappa.h"
 #include "local_proto.h"
 #include "local_proto.h"

+ 0 - 1
raster/r.kappa/kappa.h

@@ -1,6 +1,5 @@
 
 
 #include <grass/gis.h>
 #include <grass/gis.h>
-#include <grass/raster.h>
 #include <math.h>
 #include <math.h>
 
 
 struct _gstats_
 struct _gstats_

+ 0 - 1
raster/r.kappa/prt_mat.c

@@ -1,6 +1,5 @@
 #include <stdlib.h>
 #include <stdlib.h>
 #include <grass/gis.h>
 #include <grass/gis.h>
-#include <grass/raster.h>
 #include <grass/glocale.h>
 #include <grass/glocale.h>
 #include "kappa.h"
 #include "kappa.h"
 #include "local_proto.h"
 #include "local_proto.h"

+ 0 - 0
raster/r.kappa/stats.c


Some files were not shown because too many files changed in this diff