Selaa lähdekoodia

add missing raster.h

git-svn-id: https://svn.osgeo.org/grass/grass/trunk@38028 15284696-431f-4ddb-bdfa-cd5b030d7da7
Martin Landa 16 vuotta sitten
vanhempi
commit
093b9faa57
100 muutettua tiedostoa jossa 105 lisäystä ja 3 poistoa
  1. 1 0
      ps/ps.map/do_header.c
  2. 1 0
      ps/ps.map/do_labels.c
  3. 1 0
      ps/ps.map/ps_clrtbl.c
  4. 1 0
      ps/ps.map/ps_fclrtbl.c
  5. 1 0
      ps/ps.map/ps_vpoints.c
  6. 1 0
      ps/ps.map/r_border.c
  7. 1 0
      ps/ps.map/r_cell.c
  8. 1 0
      ps/ps.map/r_colortable.c
  9. 1 0
      ps/ps.map/r_plt.c
  10. 1 0
      ps/ps.map/r_rgb.c
  11. 1 0
      ps/ps.map/r_text.c
  12. 1 0
      ps/ps.map/r_vlines.c
  13. 1 0
      ps/ps.map/r_wind.c
  14. 1 0
      raster/r.buffer/main.c
  15. 1 1
      raster/r.buffer/read_map.c
  16. 1 0
      raster/r.buffer/support.c
  17. 1 0
      raster/r.buffer/write_map.c
  18. 1 1
      raster/r.coin/print_hdr.c
  19. 1 0
      raster/r.cross/cats.c
  20. 1 0
      raster/r.cross/cross.c
  21. 1 0
      raster/r.cross/main.c
  22. 1 0
      raster/r.cross/renumber.c
  23. 2 0
      raster/r.distance/distance.c
  24. 3 0
      raster/r.distance/edges.c
  25. 3 0
      raster/r.distance/labels.c
  26. 1 0
      raster/r.flow/io.c
  27. 2 0
      raster/r.in.gridatb/adjcellhd.c
  28. 1 0
      raster/r.in.gridatb/main.c
  29. 1 0
      raster/r.kappa/mask.c
  30. 1 0
      raster/r.kappa/prt_hdr.c
  31. 1 0
      raster/r.kappa/prt_label.c
  32. 1 0
      raster/r.mapcalc/column_shift.c
  33. 1 0
      raster/r.mapcalc/map.c
  34. 1 0
      raster/r.mapcalc/map3.c
  35. 1 0
      raster/r.mapcalc/xabs.c
  36. 1 0
      raster/r.mapcalc/xacos.c
  37. 1 0
      raster/r.mapcalc/xadd.c
  38. 1 0
      raster/r.mapcalc/xand.c
  39. 1 0
      raster/r.mapcalc/xand2.c
  40. 1 0
      raster/r.mapcalc/xasin.c
  41. 1 0
      raster/r.mapcalc/xatan.c
  42. 1 0
      raster/r.mapcalc/xbitand.c
  43. 1 0
      raster/r.mapcalc/xbitnot.c
  44. 1 0
      raster/r.mapcalc/xbitor.c
  45. 1 0
      raster/r.mapcalc/xbitxor.c
  46. 1 0
      raster/r.mapcalc/xcoor.c
  47. 1 0
      raster/r.mapcalc/xcos.c
  48. 1 0
      raster/r.mapcalc/xdiv.c
  49. 1 0
      raster/r.mapcalc/xdouble.c
  50. 1 0
      raster/r.mapcalc/xeq.c
  51. 1 0
      raster/r.mapcalc/xeval.c
  52. 1 0
      raster/r.mapcalc/xexp.c
  53. 1 0
      raster/r.mapcalc/xfloat.c
  54. 1 0
      raster/r.mapcalc/xge.c
  55. 1 0
      raster/r.mapcalc/xgraph.c
  56. 1 0
      raster/r.mapcalc/xgt.c
  57. 1 0
      raster/r.mapcalc/xif.c
  58. 1 0
      raster/r.mapcalc/xint.c
  59. 1 0
      raster/r.mapcalc/xisnull.c
  60. 1 0
      raster/r.mapcalc/xle.c
  61. 1 0
      raster/r.mapcalc/xlog.c
  62. 1 0
      raster/r.mapcalc/xlt.c
  63. 1 0
      raster/r.mapcalc/xmax.c
  64. 1 0
      raster/r.mapcalc/xmedian.c
  65. 1 0
      raster/r.mapcalc/xmin.c
  66. 1 0
      raster/r.mapcalc/xmod.c
  67. 1 0
      raster/r.mapcalc/xmode.c
  68. 1 0
      raster/r.mapcalc/xmul.c
  69. 1 0
      raster/r.mapcalc/xne.c
  70. 1 0
      raster/r.mapcalc/xneg.c
  71. 1 0
      raster/r.mapcalc/xnot.c
  72. 1 0
      raster/r.mapcalc/xnull.c
  73. 1 0
      raster/r.mapcalc/xor.c
  74. 1 0
      raster/r.mapcalc/xor2.c
  75. 1 0
      raster/r.mapcalc/xpow.c
  76. 1 0
      raster/r.mapcalc/xres.c
  77. 1 0
      raster/r.mapcalc/xround.c
  78. 1 0
      raster/r.mapcalc/xshiftl.c
  79. 1 0
      raster/r.mapcalc/xshiftr.c
  80. 1 0
      raster/r.mapcalc/xshiftru.c
  81. 1 0
      raster/r.mapcalc/xsin.c
  82. 1 0
      raster/r.mapcalc/xsqrt.c
  83. 1 0
      raster/r.mapcalc/xsub.c
  84. 1 0
      raster/r.mapcalc/xtan.c
  85. 1 0
      raster/r.mfilter/apply.c
  86. 1 0
      raster/r.mfilter/execute.c
  87. 1 0
      raster/r.mfilter/perform.c
  88. 1 1
      raster/r.out.gridatb/adjcellhd.c
  89. 1 0
      raster/r.out.gridatb/file_io.c
  90. 1 0
      raster/r.out.vrml/put_grid.c
  91. 1 0
      raster/r.param.scale/close_down.c
  92. 1 0
      raster/r.param.scale/write_cols.c
  93. 1 0
      raster/r.quant/main.c
  94. 1 0
      raster/r.quant/read_rules.c
  95. 1 0
      raster/r.recode/read_rules.c
  96. 1 0
      raster/r.recode/recode.c
  97. 1 0
      raster/r.report/header.c
  98. 1 0
      raster/r.report/parse.c
  99. 1 0
      raster/r.report/prt_report.c
  100. 0 0
      raster/r.report/stats.c

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

@@ -5,6 +5,7 @@
 
 #include <unistd.h>
 #include <string.h>
+#include <grass/raster.h>
 #include "header.h"
 #include "ps_info.h"
 #include "local_proto.h"

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

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

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

@@ -3,6 +3,7 @@
  ** Author: Paul W. Carlson     April 1992
  */
 
+#include <grass/raster.h>
 #include <grass/glocale.h>
 
 #include "ps_info.h"

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

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

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

@@ -5,6 +5,7 @@
  ** modified to use G_plot_line() by Olga Waupotitsch on dec,93
  */
 
+#include <grass/raster.h>
 #include <grass/vector.h>
 #include <grass/dbmi.h>
 #include <grass/symbol.h>

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

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

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

@@ -5,6 +5,7 @@
  */
 
 #include <string.h>
+#include <grass/raster.h>
 #include "ps_info.h"
 #include "local_proto.h"
 

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

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

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

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

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

@@ -5,6 +5,7 @@
  */
 
 #include <string.h>
+#include <grass/raster.h>
 #include "ps_info.h"
 #include "group.h"
 #include "local_proto.h"

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

@@ -6,6 +6,7 @@
  */
 
 #include <string.h>
+#include <grass/raster.h>
 #include "clr.h"
 #include "labels.h"
 #include "ps_info.h"

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

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

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

@@ -1,6 +1,7 @@
 /* parse the "region" instruction */
 #include "ps_info.h"
 #include <string.h>
+#include <grass/raster.h>
 #include "local_proto.h"
 
 #define KEY(x) (strcmp(key,x)==0)

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

@@ -26,6 +26,7 @@
 
 #include "distance.h"
 #include "local_proto.h"
+#include <grass/raster.h>
 #include <grass/glocale.h>
 
 struct Distance *distances;

+ 1 - 1
raster/r.buffer/read_map.c

@@ -21,7 +21,7 @@
 
 #include <stdlib.h>
 #include "distance.h"
-#include <grass/glocale.h>
+#include <grass/raster.h>
 #include <grass/glocale.h>
 
 

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

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

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

@@ -21,6 +21,7 @@
 
 #include <stdlib.h>
 #include "distance.h"
+#include <grass/raster.h>
 #include <grass/glocale.h>
 
 

+ 1 - 1
raster/r.coin/print_hdr.c

@@ -16,9 +16,9 @@
  *
  ***************************************************************************/
 
+#include <grass/raster.h>
 #include "coin.h"
 
-
 int print_coin_hdr(int Conformat)
 {
     char unit_type[20];

+ 1 - 0
raster/r.cross/cats.c

@@ -17,6 +17,7 @@
  ***************************************************************************/
 
 #include <string.h>
+#include <grass/raster.h>
 #include "glob.h"
 
 static char *get_label(CELL, struct Categories *);

+ 1 - 0
raster/r.cross/cross.c

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

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

@@ -21,6 +21,7 @@
 #include <stdio.h>
 #include "glob.h"
 #include "local_proto.h"
+#include <grass/raster.h>
 #include <grass/glocale.h>
 
 int nfiles;

+ 1 - 0
raster/r.cross/renumber.c

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

+ 2 - 0
raster/r.distance/distance.c

@@ -16,6 +16,8 @@
  *
  ***************************************************************************/
 
+#include <grass/raster.h>
+
 #include "defs.h"
 
 /* given two CatEdgeLists, find the cells which are closest

+ 3 - 0
raster/r.distance/edges.c

@@ -17,6 +17,9 @@
  ***************************************************************************/
 
 #include <stdlib.h>
+
+#include <grass/raster.h>
+
 #include "defs.h"
 
 void print_edge_info(struct Map *map)

+ 3 - 0
raster/r.distance/labels.c

@@ -17,6 +17,9 @@
  ***************************************************************************/
 
 #include <stdlib.h>
+
+#include <grass/raster.h>
+
 #include "defs.h"
 
 void read_labels(struct Map *map)

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

@@ -27,6 +27,7 @@
 #include <stdio.h>
 #include <stdlib.h>
 #include <unistd.h>
+#include <grass/raster.h>
 #include <grass/glocale.h>
 #include "r.flow.h"
 #include "mem.h"

+ 2 - 0
raster/r.in.gridatb/adjcellhd.c

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

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

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

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

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

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

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

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

@@ -1,3 +1,4 @@
+#include <grass/raster.h>
 #include <grass/glocale.h>
 #include "kappa.h"
 #include "local_proto.h"

+ 1 - 0
raster/r.mapcalc/column_shift.c

@@ -1,5 +1,6 @@
 #include <stdlib.h>
 #include <grass/gis.h>
+#include <grass/raster.h>
 #include "expression.h"
 #include "globals.h"
 

+ 1 - 0
raster/r.mapcalc/map.c

@@ -11,6 +11,7 @@
 
 #include <grass/gis.h>
 #include <grass/raster.h>
+#include <grass/raster.h>
 #include <grass/btree.h>
 #include <grass/glocale.h>
 

+ 1 - 0
raster/r.mapcalc/map3.c

@@ -6,6 +6,7 @@
 
 #include <grass/gis.h>
 #include <grass/raster.h>
+#include <grass/raster.h>
 #include <grass/G3d.h>
 #include <grass/btree.h>
 #include <grass/glocale.h>

+ 1 - 0
raster/r.mapcalc/xabs.c

@@ -2,6 +2,7 @@
 #include <math.h>
 
 #include <grass/gis.h>
+#include <grass/raster.h>
 #include "globals.h"
 #include "expression.h"
 #include "func_proto.h"

+ 1 - 0
raster/r.mapcalc/xacos.c

@@ -3,6 +3,7 @@
 #include <math.h>
 
 #include <grass/gis.h>
+#include <grass/raster.h>
 #include "globals.h"
 #include "expression.h"
 #include "func_proto.h"

+ 1 - 0
raster/r.mapcalc/xadd.c

@@ -1,5 +1,6 @@
 
 #include <grass/gis.h>
+#include <grass/raster.h>
 #include "globals.h"
 #include "expression.h"
 #include "func_proto.h"

+ 1 - 0
raster/r.mapcalc/xand.c

@@ -1,5 +1,6 @@
 
 #include <grass/gis.h>
+#include <grass/raster.h>
 #include "globals.h"
 #include "expression.h"
 #include "func_proto.h"

+ 1 - 0
raster/r.mapcalc/xand2.c

@@ -1,5 +1,6 @@
 
 #include <grass/gis.h>
+#include <grass/raster.h>
 #include "globals.h"
 #include "expression.h"
 #include "func_proto.h"

+ 1 - 0
raster/r.mapcalc/xasin.c

@@ -3,6 +3,7 @@
 #include <math.h>
 
 #include <grass/gis.h>
+#include <grass/raster.h>
 #include "globals.h"
 #include "expression.h"
 #include "func_proto.h"

+ 1 - 0
raster/r.mapcalc/xatan.c

@@ -3,6 +3,7 @@
 #include <math.h>
 
 #include <grass/gis.h>
+#include <grass/raster.h>
 #include "globals.h"
 #include "expression.h"
 #include "func_proto.h"

+ 1 - 0
raster/r.mapcalc/xbitand.c

@@ -1,5 +1,6 @@
 
 #include <grass/gis.h>
+#include <grass/raster.h>
 #include "globals.h"
 #include "expression.h"
 #include "func_proto.h"

+ 1 - 0
raster/r.mapcalc/xbitnot.c

@@ -1,5 +1,6 @@
 
 #include <grass/gis.h>
+#include <grass/raster.h>
 #include "globals.h"
 #include "expression.h"
 #include "func_proto.h"

+ 1 - 0
raster/r.mapcalc/xbitor.c

@@ -1,5 +1,6 @@
 
 #include <grass/gis.h>
+#include <grass/raster.h>
 #include "globals.h"
 #include "expression.h"
 #include "func_proto.h"

+ 1 - 0
raster/r.mapcalc/xbitxor.c

@@ -1,5 +1,6 @@
 
 #include <grass/gis.h>
+#include <grass/raster.h>
 #include "globals.h"
 #include "expression.h"
 #include "func_proto.h"

+ 1 - 0
raster/r.mapcalc/xcoor.c

@@ -1,5 +1,6 @@
 
 #include <grass/gis.h>
+#include <grass/raster.h>
 #include "globals.h"
 #include "globals2.h"
 #include "expression.h"

+ 1 - 0
raster/r.mapcalc/xcos.c

@@ -2,6 +2,7 @@
 #include <math.h>
 
 #include <grass/gis.h>
+#include <grass/raster.h>
 #include "globals.h"
 #include "expression.h"
 #include "func_proto.h"

+ 1 - 0
raster/r.mapcalc/xdiv.c

@@ -1,5 +1,6 @@
 
 #include <grass/gis.h>
+#include <grass/raster.h>
 #include "globals.h"
 #include "expression.h"
 #include "func_proto.h"

+ 1 - 0
raster/r.mapcalc/xdouble.c

@@ -2,6 +2,7 @@
 #include <stdlib.h>
 
 #include <grass/gis.h>
+#include <grass/raster.h>
 #include "globals.h"
 #include "expression.h"
 #include "func_proto.h"

+ 1 - 0
raster/r.mapcalc/xeq.c

@@ -1,5 +1,6 @@
 
 #include <grass/gis.h>
+#include <grass/raster.h>
 #include "globals.h"
 #include "expression.h"
 #include "func_proto.h"

+ 1 - 0
raster/r.mapcalc/xeval.c

@@ -1,5 +1,6 @@
 
 #include <grass/gis.h>
+#include <grass/raster.h>
 #include "globals.h"
 #include "expression.h"
 #include "func_proto.h"

+ 1 - 0
raster/r.mapcalc/xexp.c

@@ -2,6 +2,7 @@
 #include <math.h>
 
 #include <grass/gis.h>
+#include <grass/raster.h>
 #include "globals.h"
 #include "expression.h"
 #include "func_proto.h"

+ 1 - 0
raster/r.mapcalc/xfloat.c

@@ -2,6 +2,7 @@
 #include <stdlib.h>
 
 #include <grass/gis.h>
+#include <grass/raster.h>
 #include "globals.h"
 #include "expression.h"
 #include "func_proto.h"

+ 1 - 0
raster/r.mapcalc/xge.c

@@ -1,5 +1,6 @@
 
 #include <grass/gis.h>
+#include <grass/raster.h>
 #include "globals.h"
 #include "expression.h"
 #include "func_proto.h"

+ 1 - 0
raster/r.mapcalc/xgraph.c

@@ -2,6 +2,7 @@
 #include <stdlib.h>
 
 #include <grass/gis.h>
+#include <grass/raster.h>
 #include "globals.h"
 #include "expression.h"
 #include "func_proto.h"

+ 1 - 0
raster/r.mapcalc/xgt.c

@@ -1,5 +1,6 @@
 
 #include <grass/gis.h>
+#include <grass/raster.h>
 #include "globals.h"
 #include "expression.h"
 #include "func_proto.h"

+ 1 - 0
raster/r.mapcalc/xif.c

@@ -1,5 +1,6 @@
 
 #include <grass/gis.h>
+#include <grass/raster.h>
 #include "globals.h"
 #include "expression.h"
 #include "func_proto.h"

+ 1 - 0
raster/r.mapcalc/xint.c

@@ -2,6 +2,7 @@
 #include <stdlib.h>
 
 #include <grass/gis.h>
+#include <grass/raster.h>
 #include "globals.h"
 #include "expression.h"
 #include "func_proto.h"

+ 1 - 0
raster/r.mapcalc/xisnull.c

@@ -1,5 +1,6 @@
 
 #include <grass/gis.h>
+#include <grass/raster.h>
 #include "globals.h"
 #include "expression.h"
 #include "func_proto.h"

+ 1 - 0
raster/r.mapcalc/xle.c

@@ -1,5 +1,6 @@
 
 #include <grass/gis.h>
+#include <grass/raster.h>
 #include "globals.h"
 #include "expression.h"
 #include "func_proto.h"

+ 1 - 0
raster/r.mapcalc/xlog.c

@@ -2,6 +2,7 @@
 #include <math.h>
 
 #include <grass/gis.h>
+#include <grass/raster.h>
 #include "globals.h"
 #include "expression.h"
 #include "func_proto.h"

+ 1 - 0
raster/r.mapcalc/xlt.c

@@ -1,5 +1,6 @@
 
 #include <grass/gis.h>
+#include <grass/raster.h>
 #include "globals.h"
 #include "expression.h"
 #include "func_proto.h"

+ 1 - 0
raster/r.mapcalc/xmax.c

@@ -2,6 +2,7 @@
 #include <stdlib.h>
 
 #include <grass/gis.h>
+#include <grass/raster.h>
 #include "globals.h"
 #include "expression.h"
 #include "func_proto.h"

+ 1 - 0
raster/r.mapcalc/xmedian.c

@@ -3,6 +3,7 @@
 
 #include <grass/gis.h>
 #include <grass/raster.h>
+#include <grass/raster.h>
 #include "globals.h"
 #include "expression.h"
 #include "func_proto.h"

+ 1 - 0
raster/r.mapcalc/xmin.c

@@ -2,6 +2,7 @@
 #include <stdlib.h>
 
 #include <grass/gis.h>
+#include <grass/raster.h>
 #include "globals.h"
 #include "expression.h"
 #include "func_proto.h"

+ 1 - 0
raster/r.mapcalc/xmod.c

@@ -1,5 +1,6 @@
 
 #include <grass/gis.h>
+#include <grass/raster.h>
 #include "globals.h"
 #include "expression.h"
 #include "func_proto.h"

+ 1 - 0
raster/r.mapcalc/xmode.c

@@ -2,6 +2,7 @@
 #include <stdlib.h>
 
 #include <grass/gis.h>
+#include <grass/raster.h>
 #include "globals.h"
 #include "expression.h"
 #include "func_proto.h"

+ 1 - 0
raster/r.mapcalc/xmul.c

@@ -1,5 +1,6 @@
 
 #include <grass/gis.h>
+#include <grass/raster.h>
 #include "globals.h"
 #include "expression.h"
 #include "func_proto.h"

+ 1 - 0
raster/r.mapcalc/xne.c

@@ -1,5 +1,6 @@
 
 #include <grass/gis.h>
+#include <grass/raster.h>
 #include "globals.h"
 #include "expression.h"
 #include "func_proto.h"

+ 1 - 0
raster/r.mapcalc/xneg.c

@@ -1,5 +1,6 @@
 
 #include <grass/gis.h>
+#include <grass/raster.h>
 #include "globals.h"
 #include "expression.h"
 #include "func_proto.h"

+ 1 - 0
raster/r.mapcalc/xnot.c

@@ -1,5 +1,6 @@
 
 #include <grass/gis.h>
+#include <grass/raster.h>
 #include "globals.h"
 #include "expression.h"
 #include "func_proto.h"

+ 1 - 0
raster/r.mapcalc/xnull.c

@@ -1,5 +1,6 @@
 
 #include <grass/gis.h>
+#include <grass/raster.h>
 #include "globals.h"
 #include "expression.h"
 #include "func_proto.h"

+ 1 - 0
raster/r.mapcalc/xor.c

@@ -1,5 +1,6 @@
 
 #include <grass/gis.h>
+#include <grass/raster.h>
 #include "globals.h"
 #include "expression.h"
 #include "func_proto.h"

+ 1 - 0
raster/r.mapcalc/xor2.c

@@ -1,5 +1,6 @@
 
 #include <grass/gis.h>
+#include <grass/raster.h>
 #include "globals.h"
 #include "expression.h"
 #include "func_proto.h"

+ 1 - 0
raster/r.mapcalc/xpow.c

@@ -2,6 +2,7 @@
 #include <math.h>
 
 #include <grass/gis.h>
+#include <grass/raster.h>
 #include "globals.h"
 #include "expression.h"
 #include "func_proto.h"

+ 1 - 0
raster/r.mapcalc/xres.c

@@ -1,5 +1,6 @@
 
 #include <grass/gis.h>
+#include <grass/raster.h>
 #include "globals.h"
 #include "globals2.h"
 #include "expression.h"

+ 1 - 0
raster/r.mapcalc/xround.c

@@ -2,6 +2,7 @@
 #include <limits.h>
 
 #include <grass/gis.h>
+#include <grass/raster.h>
 #include "globals.h"
 #include "expression.h"
 #include "func_proto.h"

+ 1 - 0
raster/r.mapcalc/xshiftl.c

@@ -1,5 +1,6 @@
 
 #include <grass/gis.h>
+#include <grass/raster.h>
 #include "globals.h"
 #include "expression.h"
 #include "func_proto.h"

+ 1 - 0
raster/r.mapcalc/xshiftr.c

@@ -1,5 +1,6 @@
 
 #include <grass/gis.h>
+#include <grass/raster.h>
 #include "globals.h"
 #include "expression.h"
 #include "func_proto.h"

+ 1 - 0
raster/r.mapcalc/xshiftru.c

@@ -1,5 +1,6 @@
 
 #include <grass/gis.h>
+#include <grass/raster.h>
 #include "globals.h"
 #include "expression.h"
 #include "func_proto.h"

+ 1 - 0
raster/r.mapcalc/xsin.c

@@ -2,6 +2,7 @@
 #include <math.h>
 
 #include <grass/gis.h>
+#include <grass/raster.h>
 #include "globals.h"
 #include "expression.h"
 #include "func_proto.h"

+ 1 - 0
raster/r.mapcalc/xsqrt.c

@@ -2,6 +2,7 @@
 #include <math.h>
 
 #include <grass/gis.h>
+#include <grass/raster.h>
 #include "globals.h"
 #include "expression.h"
 #include "func_proto.h"

+ 1 - 0
raster/r.mapcalc/xsub.c

@@ -1,5 +1,6 @@
 
 #include <grass/gis.h>
+#include <grass/raster.h>
 #include "globals.h"
 #include "expression.h"
 #include "func_proto.h"

+ 1 - 0
raster/r.mapcalc/xtan.c

@@ -3,6 +3,7 @@
 #include <math.h>
 
 #include <grass/gis.h>
+#include <grass/raster.h>
 #include "globals.h"
 #include "expression.h"
 #include "func_proto.h"

+ 1 - 0
raster/r.mfilter/apply.c

@@ -1,3 +1,4 @@
+#include <grass/raster.h>
 #include "filter.h"
 
 /**************************************************************

+ 1 - 0
raster/r.mfilter/execute.c

@@ -1,5 +1,6 @@
 #include <unistd.h>
 #include <grass/rowio.h>
+#include <grass/raster.h>
 #include "glob.h"
 #include "filter.h"
 

+ 1 - 0
raster/r.mfilter/perform.c

@@ -1,6 +1,7 @@
 #include <unistd.h>
 #include <fcntl.h>
 #include <grass/rowio.h>
+#include <grass/raster.h>
 #include <grass/glocale.h>
 #include "glob.h"
 #include "filter.h"

+ 1 - 1
raster/r.out.gridatb/adjcellhd.c

@@ -5,7 +5,7 @@ int adjcellhd(struct Cell_head *cellhd)
 {
     int retval = 0;
 
-    if (Rast_set_window(cellhd) < 0)
+    if (G_set_window(cellhd) < 0)
 	retval = 1;
 
     if (cellhd->rows != G_window_rows())

+ 1 - 0
raster/r.out.gridatb/file_io.c

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

+ 1 - 0
raster/r.out.vrml/put_grid.c

@@ -1,3 +1,4 @@
+#include <grass/raster.h>
 #include <grass/glocale.h>
 #include "pv.h"
 

+ 1 - 0
raster/r.param.scale/close_down.c

@@ -8,6 +8,7 @@
 /*****************************************************************************/
 
 #include <string.h>
+#include <grass/raster.h>
 #include "param.h"
 
 

+ 1 - 0
raster/r.param.scale/write_cols.c

@@ -13,6 +13,7 @@
 
 /*****************************************************************************/
 
+#include <grass/raster.h>
 #include "param.h"
 
 

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

@@ -20,6 +20,7 @@
 #include <unistd.h>
 #include <string.h>
 #include "global.h"
+#include <grass/raster.h>
 #include <grass/glocale.h>
 
 struct Quant quant_struct;

+ 1 - 0
raster/r.quant/read_rules.c

@@ -1,6 +1,7 @@
 #include <stdio.h>
 #include <unistd.h>
 #include <string.h>
+#include <grass/raster.h>
 #include <grass/glocale.h>
 #include "global.h"
 

+ 1 - 0
raster/r.recode/read_rules.c

@@ -1,6 +1,7 @@
 #include <stdio.h>
 #include <unistd.h>
 #include <string.h>
+#include <grass/raster.h>
 #include <grass/glocale.h>
 #include "global.h"
 

+ 1 - 0
raster/r.recode/recode.c

@@ -1,4 +1,5 @@
 #include <stdio.h>
+#include <grass/raster.h>
 #include "global.h"
 
 #define F2I(map_type) \

+ 1 - 0
raster/r.report/header.c

@@ -1,4 +1,5 @@
 #include <string.h>
+#include <grass/raster.h>
 #include "global.h"
 
 static int page = 0;

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

@@ -1,6 +1,7 @@
 #include <stdlib.h>
 #include <string.h>
 #include <unistd.h>
+#include <grass/raster.h>
 #include "global.h"
 
 int parse_command_line(int argc, char *argv[])

+ 1 - 0
raster/r.report/prt_report.c

@@ -1,5 +1,6 @@
 #include <stdlib.h>
 #include <string.h>
+#include <grass/raster.h>
 #include "global.h"
 
 int print_report(int unit1, int unit2)

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


Kaikkia tiedostoja ei voida näyttää, sillä liian monta tiedostoa muuttui tässä diffissä