Browse Source

update headers, revert https://trac.osgeo.org/grass/changeset/37860

git-svn-id: https://svn.osgeo.org/grass/grass/trunk@45105 15284696-431f-4ddb-bdfa-cd5b030d7da7
Markus Metz 14 years ago
parent
commit
19c13ce399
56 changed files with 5 additions and 109 deletions
  1. 0 2
      lib/vector/Vlib/area.c
  2. 0 2
      lib/vector/Vlib/array.c
  3. 0 2
      lib/vector/Vlib/box.c
  4. 1 3
      lib/vector/Vlib/break_lines.c
  5. 0 1
      lib/vector/Vlib/break_polygons.c
  6. 0 2
      lib/vector/Vlib/bridges.c
  7. 0 2
      lib/vector/Vlib/buffer.c
  8. 0 2
      lib/vector/Vlib/buffer2.c
  9. 0 2
      lib/vector/Vlib/build.c
  10. 1 3
      lib/vector/Vlib/build_nat.c
  11. 0 2
      lib/vector/Vlib/build_ogr.c
  12. 0 2
      lib/vector/Vlib/cats.c
  13. 0 2
      lib/vector/Vlib/cindex.c
  14. 0 2
      lib/vector/Vlib/clean_nodes.c
  15. 0 1
      lib/vector/Vlib/close.c
  16. 1 1
      lib/vector/Vlib/close_nat.c
  17. 0 1
      lib/vector/Vlib/close_ogr.c
  18. 0 1
      lib/vector/Vlib/constraint.c
  19. 0 2
      lib/vector/Vlib/dangles.c
  20. 0 2
      lib/vector/Vlib/dbcolumns.c
  21. 0 2
      lib/vector/Vlib/dgraph.c
  22. 0 2
      lib/vector/Vlib/error.c
  23. 0 2
      lib/vector/Vlib/field.c
  24. 0 2
      lib/vector/Vlib/find.c
  25. 0 2
      lib/vector/Vlib/geos.c
  26. 0 2
      lib/vector/Vlib/graph.c
  27. 0 2
      lib/vector/Vlib/header.c
  28. 0 1
      lib/vector/Vlib/hist.c
  29. 0 2
      lib/vector/Vlib/init_head.c
  30. 0 2
      lib/vector/Vlib/intersect.c
  31. 0 2
      lib/vector/Vlib/legal_vname.c
  32. 0 2
      lib/vector/Vlib/level_two.c
  33. 0 2
      lib/vector/Vlib/line.c
  34. 0 2
      lib/vector/Vlib/list.c
  35. 0 2
      lib/vector/Vlib/map.c
  36. 0 2
      lib/vector/Vlib/merge_lines.c
  37. 0 2
      lib/vector/Vlib/net.c
  38. 0 2
      lib/vector/Vlib/open.c
  39. 0 2
      lib/vector/Vlib/open_nat.c
  40. 0 2
      lib/vector/Vlib/open_ogr.c
  41. 0 2
      lib/vector/Vlib/overlap.c
  42. 0 1
      lib/vector/Vlib/overlay.c
  43. 2 5
      lib/vector/Vlib/poly.c
  44. 0 1
      lib/vector/Vlib/read.c
  45. 0 2
      lib/vector/Vlib/read_nat.c
  46. 0 2
      lib/vector/Vlib/read_ogr.c
  47. 0 2
      lib/vector/Vlib/remove_areas.c
  48. 0 2
      lib/vector/Vlib/remove_duplicates.c
  49. 0 2
      lib/vector/Vlib/rewind_ogr.c
  50. 0 3
      lib/vector/Vlib/select.c
  51. 0 2
      lib/vector/Vlib/sindex.c
  52. 0 2
      lib/vector/Vlib/snap.c
  53. 0 2
      lib/vector/Vlib/type.c
  54. 0 2
      lib/vector/Vlib/write.c
  55. 0 2
      lib/vector/Vlib/write_nat.c
  56. 0 1
      lib/vector/Vlib/write_ogr.c

+ 0 - 2
lib/vector/Vlib/area.c

@@ -16,9 +16,7 @@
    \author Update to GRASS 5.7 Radim Blazek and David D. Gray.
    \author Update to GRASS 5.7 Radim Blazek and David D. Gray.
  */
  */
 
 
-#include <grass/config.h>
 #include <stdlib.h>
 #include <stdlib.h>
-#include <grass/gis.h>
 #include <grass/vector.h>
 #include <grass/vector.h>
 #include <grass/glocale.h>
 #include <grass/glocale.h>
 
 

+ 0 - 2
lib/vector/Vlib/array.c

@@ -15,9 +15,7 @@
    \author Radim Blazek
    \author Radim Blazek
  */
  */
 
 
-#include <grass/config.h>
 #include <stdlib.h>
 #include <stdlib.h>
-#include <grass/gis.h>
 #include <grass/dbmi.h>
 #include <grass/dbmi.h>
 #include <grass/vector.h>
 #include <grass/vector.h>
 #include <grass/glocale.h>
 #include <grass/glocale.h>

+ 0 - 2
lib/vector/Vlib/box.c

@@ -15,9 +15,7 @@
    \author Radim Blazek
    \author Radim Blazek
  */
  */
 
 
-#include <grass/config.h>
 #include <stdlib.h>
 #include <stdlib.h>
-#include <grass/gis.h>
 #include <grass/vector.h>
 #include <grass/vector.h>
 
 
 /*!
 /*!

+ 1 - 3
lib/vector/Vlib/break_lines.c

@@ -13,9 +13,7 @@
  * \author Radim Blazek
  * \author Radim Blazek
  */
  */
 
 
-#include <grass/config.h>
 #include <stdlib.h>
 #include <stdlib.h>
-#include <grass/gis.h>
 #include <grass/vector.h>
 #include <grass/vector.h>
 #include <grass/glocale.h>
 #include <grass/glocale.h>
 
 
@@ -368,8 +366,8 @@ Vect_break_lines_list(struct Map_info *Map, struct ilist *List_break,
 	}
 	}
 	G_debug(3, "nlines =  %d", nlines);
 	G_debug(3, "nlines =  %d", nlines);
     }				/* for each line */
     }				/* for each line */
-
     G_percent(nlines, nlines, 1); /* finish it */
     G_percent(nlines, nlines, 1); /* finish it */
+
     G_verbose_message(_("Intersections: %d"), nbreaks);
     G_verbose_message(_("Intersections: %d"), nbreaks);
 
 
     Vect_destroy_list(List);
     Vect_destroy_list(List);

+ 0 - 1
lib/vector/Vlib/break_polygons.c

@@ -21,7 +21,6 @@
 #include <fcntl.h>
 #include <fcntl.h>
 #include <unistd.h>
 #include <unistd.h>
 #include <math.h>
 #include <math.h>
-#include <grass/gis.h>
 #include <grass/vector.h>
 #include <grass/vector.h>
 #include <grass/glocale.h>
 #include <grass/glocale.h>
 
 

+ 0 - 2
lib/vector/Vlib/bridges.c

@@ -15,9 +15,7 @@
    \author Radim Blazek
    \author Radim Blazek
  */
  */
 
 
-#include <grass/config.h>
 #include <stdlib.h>
 #include <stdlib.h>
-#include <grass/gis.h>
 #include <grass/vector.h>
 #include <grass/vector.h>
 #include <grass/glocale.h>
 #include <grass/glocale.h>
 
 

+ 0 - 2
lib/vector/Vlib/buffer.c

@@ -17,11 +17,9 @@
    \author Radim Blazek
    \author Radim Blazek
  */
  */
 
 
-#include <grass/config.h>
 #include <stdlib.h>
 #include <stdlib.h>
 #include <math.h>
 #include <math.h>
 #include <grass/vector.h>
 #include <grass/vector.h>
-#include <grass/gis.h>
 
 
 #define LENGTH(DX, DY)  (  sqrt( (DX*DX)+(DY*DY) )  )
 #define LENGTH(DX, DY)  (  sqrt( (DX*DX)+(DY*DY) )  )
 #define PI M_PI
 #define PI M_PI

+ 0 - 2
lib/vector/Vlib/buffer2.c

@@ -16,11 +16,9 @@
    \author Rewritten by Rosen Matev (Google Summer of Code 2008)
    \author Rewritten by Rosen Matev (Google Summer of Code 2008)
  */
  */
 
 
-#include <grass/config.h>
 #include <stdlib.h>
 #include <stdlib.h>
 #include <math.h>
 #include <math.h>
 #include <grass/vector.h>
 #include <grass/vector.h>
-#include <grass/gis.h>
 #include <grass/glocale.h>
 #include <grass/glocale.h>
 
 
 #include "dgraph.h"
 #include "dgraph.h"

+ 0 - 2
lib/vector/Vlib/build.c

@@ -13,13 +13,11 @@
    \author Original author CERL, probably Dave Gerdes or Mike Higgins.
    \author Original author CERL, probably Dave Gerdes or Mike Higgins.
    \author Update to GRASS 5.7 Radim Blazek and David D. Gray.
    \author Update to GRASS 5.7 Radim Blazek and David D. Gray.
  */
  */
-#include <grass/config.h>
 #include <stdlib.h>
 #include <stdlib.h>
 #include <stdio.h>
 #include <stdio.h>
 #include <stdarg.h>
 #include <stdarg.h>
 #include <unistd.h>
 #include <unistd.h>
 #include <grass/glocale.h>
 #include <grass/glocale.h>
-#include <grass/gis.h>
 #include <grass/vector.h>
 #include <grass/vector.h>
 
 
 
 

+ 1 - 3
lib/vector/Vlib/build_nat.c

@@ -14,13 +14,11 @@
    \author Update to GRASS 5.7 Radim Blazek and David D. Gray.
    \author Update to GRASS 5.7 Radim Blazek and David D. Gray.
  */
  */
 
 
-#include <grass/config.h>
 #include <string.h>
 #include <string.h>
 #include <stdlib.h>
 #include <stdlib.h>
 #include <stdio.h>
 #include <stdio.h>
 #include <sys/types.h>
 #include <sys/types.h>
 #include <grass/glocale.h>
 #include <grass/glocale.h>
-#include <grass/gis.h>
 #include <grass/vector.h>
 #include <grass/vector.h>
 
 
 /*!
 /*!
@@ -127,7 +125,7 @@ int Vect_build_line_area(struct Map_info *Map, int iline, int side)
    \param Map_info vector map
    \param Map_info vector map
    \param isle isle id
    \param isle isle id
 
 
-   \return number of  area(s)
+   \return area id
    \return 0 if not found
    \return 0 if not found
  */
  */
 int Vect_isle_find_area(struct Map_info *Map, int isle)
 int Vect_isle_find_area(struct Map_info *Map, int isle)

+ 0 - 2
lib/vector/Vlib/build_ogr.c

@@ -21,11 +21,9 @@
    \author Various updates for GRASS 7 by Martin Landa <landa.martin gmail.com>
    \author Various updates for GRASS 7 by Martin Landa <landa.martin gmail.com>
 */
 */
 
 
-#include <grass/config.h>
 #include <string.h>
 #include <string.h>
 #include <stdlib.h>
 #include <stdlib.h>
 #include <stdio.h>
 #include <stdio.h>
-#include <grass/gis.h>
 #include <grass/vector.h>
 #include <grass/vector.h>
 #include <grass/glocale.h>
 #include <grass/glocale.h>
 
 

+ 0 - 2
lib/vector/Vlib/cats.c

@@ -16,10 +16,8 @@
  * \author Various updates by Martin Landa <landa.martin gmail.com>
  * \author Various updates by Martin Landa <landa.martin gmail.com>
  */
  */
 
 
-#include <grass/config.h>
 #include <stdlib.h>
 #include <stdlib.h>
 #include <string.h>
 #include <string.h>
-#include <grass/gis.h>
 #include <grass/vector.h>
 #include <grass/vector.h>
 #include <grass/glocale.h>
 #include <grass/glocale.h>
 
 

+ 0 - 2
lib/vector/Vlib/cindex.c

@@ -13,13 +13,11 @@
  * \author Radim Blazek
  * \author Radim Blazek
  */
  */
 
 
-#include <grass/config.h>
 #include <stdlib.h>
 #include <stdlib.h>
 #include <string.h>
 #include <string.h>
 #include <sys/types.h>
 #include <sys/types.h>
 #include <sys/stat.h>
 #include <sys/stat.h>
 #include <unistd.h>
 #include <unistd.h>
-#include <grass/gis.h>
 #include <grass/vector.h>
 #include <grass/vector.h>
 #include <grass/glocale.h>
 #include <grass/glocale.h>
 
 

+ 0 - 2
lib/vector/Vlib/clean_nodes.c

@@ -13,9 +13,7 @@
    \author Radim Blazek
    \author Radim Blazek
  */
  */
 
 
-#include <grass/config.h>
 #include <stdlib.h>
 #include <stdlib.h>
-#include <grass/gis.h>
 #include <grass/vector.h>
 #include <grass/vector.h>
 #include <grass/glocale.h>
 #include <grass/glocale.h>
 
 

+ 0 - 1
lib/vector/Vlib/close.c

@@ -14,7 +14,6 @@
    \author Update to GRASS 5.7 Radim Blazek and David D. Gray.
    \author Update to GRASS 5.7 Radim Blazek and David D. Gray.
  */
  */
 
 
-#include <grass/config.h>
 #include <stdlib.h>
 #include <stdlib.h>
 #include <stdio.h>
 #include <stdio.h>
 #include <string.h>
 #include <string.h>

+ 1 - 1
lib/vector/Vlib/close_nat.c

@@ -14,8 +14,8 @@
    \author Update to GRASS 5.7 Radim Blazek and David D. Gray.
    \author Update to GRASS 5.7 Radim Blazek and David D. Gray.
 */
 */
 
 
-#include <grass/vector.h>
 #include <stdlib.h>
 #include <stdlib.h>
+#include <grass/vector.h>
 
 
 /*!
 /*!
   \brief Close vector map file
   \brief Close vector map file

+ 0 - 1
lib/vector/Vlib/close_ogr.c

@@ -14,7 +14,6 @@
    \author Update to GRASS 5.7 Radim Blazek and Piero Cavalieri.
    \author Update to GRASS 5.7 Radim Blazek and Piero Cavalieri.
 */
 */
 
 
-#include <grass/config.h>
 #include <stdlib.h>
 #include <stdlib.h>
 #include <grass/vector.h>
 #include <grass/vector.h>
 #include <grass/glocale.h>
 #include <grass/glocale.h>

+ 0 - 1
lib/vector/Vlib/constraint.c

@@ -34,7 +34,6 @@
  */
  */
 
 
 #include <grass/vector.h>
 #include <grass/vector.h>
-#include <grass/gis.h>
 
 
 /*!
 /*!
    \brief Set constraint region
    \brief Set constraint region

+ 0 - 2
lib/vector/Vlib/dangles.c

@@ -13,9 +13,7 @@
    \author Radim Blazek
    \author Radim Blazek
 */
 */
 
 
-#include <grass/config.h>
 #include <stdlib.h>
 #include <stdlib.h>
-#include <grass/gis.h>
 #include <grass/vector.h>
 #include <grass/vector.h>
 #include <grass/glocale.h>
 #include <grass/glocale.h>
 
 

+ 0 - 2
lib/vector/Vlib/dbcolumns.c

@@ -13,7 +13,6 @@
    \author Markus Neteler
    \author Markus Neteler
 */
 */
 
 
-#include <grass/config.h>
 #include <stdlib.h>
 #include <stdlib.h>
 #include <stdio.h>
 #include <stdio.h>
 #include <string.h>
 #include <string.h>
@@ -21,7 +20,6 @@
 #include <sys/types.h>
 #include <sys/types.h>
 #include <sys/stat.h>
 #include <sys/stat.h>
 #include <grass/glocale.h>
 #include <grass/glocale.h>
-#include <grass/gis.h>
 #include <grass/vector.h>
 #include <grass/vector.h>
 #include <grass/dbmi.h>
 #include <grass/dbmi.h>
 
 

+ 0 - 2
lib/vector/Vlib/dgraph.c

@@ -13,12 +13,10 @@
    \author Rewritten by Rosen Matev (Google Summer of Code 2008)
    \author Rewritten by Rosen Matev (Google Summer of Code 2008)
 */
 */
 
 
-#include <grass/config.h>
 #include <stdlib.h>
 #include <stdlib.h>
 #include <string.h>
 #include <string.h>
 #include <math.h>
 #include <math.h>
 #include <grass/vector.h>
 #include <grass/vector.h>
-#include <grass/gis.h>
 #include <grass/glocale.h>
 #include <grass/glocale.h>
 #include "dgraph.h"
 #include "dgraph.h"
 #include "e_intersect.h"
 #include "e_intersect.h"

+ 0 - 2
lib/vector/Vlib/error.c

@@ -14,9 +14,7 @@
    \author Update to GRASS 5.7 Radim Blazek and David D. Gray.
    \author Update to GRASS 5.7 Radim Blazek and David D. Gray.
 */
 */
 
 
-#include <grass/config.h>
 #include <string.h>
 #include <string.h>
-#include <grass/gis.h>
 #include <grass/vector.h>
 #include <grass/vector.h>
 
 
 static int fatal_err = GV_FATAL_EXIT;
 static int fatal_err = GV_FATAL_EXIT;

+ 0 - 2
lib/vector/Vlib/field.c

@@ -19,12 +19,10 @@
   \author Various updates by Martin Landa <landa.martin gmail.com>, 2009
   \author Various updates by Martin Landa <landa.martin gmail.com>, 2009
 */
 */
 
 
-#include <grass/config.h>
 #include <stdlib.h>
 #include <stdlib.h>
 #include <stdio.h>
 #include <stdio.h>
 #include <string.h>
 #include <string.h>
 #include <grass/glocale.h>
 #include <grass/glocale.h>
-#include <grass/gis.h>
 #include <grass/dbmi.h>
 #include <grass/dbmi.h>
 #include <grass/vector.h>
 #include <grass/vector.h>
 
 

+ 0 - 2
lib/vector/Vlib/find.c

@@ -15,9 +15,7 @@
  * \author Update to GRASS 5.7 Radim Blazek and David D. Gray.
  * \author Update to GRASS 5.7 Radim Blazek and David D. Gray.
  */
  */
 
 
-#include <grass/config.h>
 #include <math.h>
 #include <math.h>
-#include <grass/gis.h>
 #include <grass/vector.h>
 #include <grass/vector.h>
 
 
 #ifndef HUGE_VAL
 #ifndef HUGE_VAL

+ 0 - 2
lib/vector/Vlib/geos.c

@@ -13,8 +13,6 @@
   \author Martin Landa <landa.martin gmail.com>
   \author Martin Landa <landa.martin gmail.com>
  */
  */
 
 
-#include <grass/config.h>
-#include <grass/gis.h>
 #include <grass/vector.h>
 #include <grass/vector.h>
 #include <grass/glocale.h>
 #include <grass/glocale.h>
 
 

+ 0 - 2
lib/vector/Vlib/graph.c

@@ -15,10 +15,8 @@
    \author Radim Blazek
    \author Radim Blazek
  */
  */
 
 
-#include <grass/config.h>
 #include <stdlib.h>
 #include <stdlib.h>
 #include <string.h>
 #include <string.h>
-#include <grass/gis.h>
 #include <grass/dbmi.h>
 #include <grass/dbmi.h>
 #include <grass/vector.h>
 #include <grass/vector.h>
 #include <grass/glocale.h>
 #include <grass/glocale.h>

+ 0 - 2
lib/vector/Vlib/header.c

@@ -15,10 +15,8 @@
    \author Update to GRASS 7 (OGR support) by Martin Landa <landa.martin gmail.com>
    \author Update to GRASS 7 (OGR support) by Martin Landa <landa.martin gmail.com>
  */
  */
 
 
-#include <grass/config.h>
 #include <stdlib.h>
 #include <stdlib.h>
 #include <string.h>
 #include <string.h>
-#include <grass/gis.h>
 #include <grass/vector.h>
 #include <grass/vector.h>
 #include <grass/glocale.h>
 #include <grass/glocale.h>
 
 

+ 0 - 1
lib/vector/Vlib/hist.c

@@ -13,7 +13,6 @@
    \author Radim Blazek
    \author Radim Blazek
  */
  */
 
 
-#include <grass/config.h>
 #include <stdlib.h>
 #include <stdlib.h>
 #include <stdio.h>
 #include <stdio.h>
 #include <string.h>
 #include <string.h>

+ 0 - 2
lib/vector/Vlib/init_head.c

@@ -18,9 +18,7 @@
    \author Various updates by Martin Landa <landa.martin gmail.com>, 2009
    \author Various updates by Martin Landa <landa.martin gmail.com>, 2009
 */
 */
 
 
-#include <grass/config.h>
 #include <string.h>
 #include <string.h>
-#include <grass/gis.h>
 #include <grass/vector.h>
 #include <grass/vector.h>
 
 
 /*!
 /*!

+ 0 - 2
lib/vector/Vlib/intersect.c

@@ -65,12 +65,10 @@
    \author Update to GRASS 5.7 Radim Blazek.
    \author Update to GRASS 5.7 Radim Blazek.
  */
  */
 
 
-#include <grass/config.h>
 #include <stdlib.h>
 #include <stdlib.h>
 #include <stdio.h>
 #include <stdio.h>
 #include <unistd.h>
 #include <unistd.h>
 #include <math.h>
 #include <math.h>
-#include <grass/gis.h>
 #include <grass/vector.h>
 #include <grass/vector.h>
 #include <grass/glocale.h>
 #include <grass/glocale.h>
 
 

+ 0 - 2
lib/vector/Vlib/legal_vname.c

@@ -11,9 +11,7 @@
    \author Radim Blazek
    \author Radim Blazek
  */
  */
 
 
-#include <grass/config.h>
 #include <string.h>
 #include <string.h>
-#include <grass/gis.h>
 #include <grass/vector.h>
 #include <grass/vector.h>
 #include <grass/glocale.h>
 #include <grass/glocale.h>
 
 

+ 0 - 2
lib/vector/Vlib/level_two.c

@@ -12,9 +12,7 @@
    \author Update to GRASS 5.7 Radim Blazek and David D. Gray.
    \author Update to GRASS 5.7 Radim Blazek and David D. Gray.
  */
  */
 
 
-#include <grass/config.h>
 #include <stdlib.h>
 #include <stdlib.h>
-#include <grass/gis.h>
 #include <grass/vector.h>
 #include <grass/vector.h>
 #include <grass/glocale.h>
 #include <grass/glocale.h>
 
 

+ 0 - 2
lib/vector/Vlib/line.c

@@ -13,10 +13,8 @@
    \author Some updates for GRASS 7 by Martin Landa <landa.martin gmail.com>
    \author Some updates for GRASS 7 by Martin Landa <landa.martin gmail.com>
 */
 */
 
 
-#include <grass/config.h>
 #include <stdlib.h>
 #include <stdlib.h>
 #include <math.h>
 #include <math.h>
-#include <grass/gis.h>
 #include <grass/vector.h>
 #include <grass/vector.h>
 #include <grass/glocale.h>
 #include <grass/glocale.h>
 
 

+ 0 - 2
lib/vector/Vlib/list.c

@@ -16,10 +16,8 @@
  * \author Update to GRASS 5.7 Radim Blazek and David D. Gray
  * \author Update to GRASS 5.7 Radim Blazek and David D. Gray
  */
  */
 
 
-#include <grass/config.h>
 #include <stdlib.h>
 #include <stdlib.h>
 #include <grass/vector.h>
 #include <grass/vector.h>
-#include <grass/gis.h>
 
 
 /**
 /**
  * \brief Creates and initializes a struct ilist.
  * \brief Creates and initializes a struct ilist.

+ 0 - 2
lib/vector/Vlib/map.c

@@ -15,7 +15,6 @@
  * \author Update to GRASS 5.7 Radim Blazek and David D. Gray.
  * \author Update to GRASS 5.7 Radim Blazek and David D. Gray.
  */
  */
 
 
-#include <grass/config.h>
 #include <stdlib.h>
 #include <stdlib.h>
 #include <stdio.h>
 #include <stdio.h>
 #include <dirent.h>
 #include <dirent.h>
@@ -25,7 +24,6 @@
 #include <sys/stat.h>
 #include <sys/stat.h>
 #include <fcntl.h>
 #include <fcntl.h>
 #include <grass/glocale.h>
 #include <grass/glocale.h>
-#include <grass/gis.h>
 #include <grass/vector.h>
 #include <grass/vector.h>
 #include <grass/dbmi.h>
 #include <grass/dbmi.h>
 #include <grass/glocale.h>
 #include <grass/glocale.h>

+ 0 - 2
lib/vector/Vlib/merge_lines.c

@@ -15,10 +15,8 @@
    \author Markus Metz
    \author Markus Metz
  */
  */
 
 
-#include <grass/config.h>
 #include <stdlib.h>
 #include <stdlib.h>
 #include <math.h>
 #include <math.h>
-#include <grass/gis.h>
 #include <grass/vector.h>
 #include <grass/vector.h>
 #include <grass/glocale.h>
 #include <grass/glocale.h>
 
 

+ 0 - 2
lib/vector/Vlib/net.c

@@ -13,11 +13,9 @@
  * \author Radim Blazek
  * \author Radim Blazek
  */
  */
 
 
-#include <grass/config.h>
 #include <stdlib.h>
 #include <stdlib.h>
 #include <string.h>
 #include <string.h>
 #include <fcntl.h>
 #include <fcntl.h>
-#include <grass/gis.h>
 #include <grass/dbmi.h>
 #include <grass/dbmi.h>
 #include <grass/vector.h>
 #include <grass/vector.h>
 #include <grass/glocale.h>
 #include <grass/glocale.h>

+ 0 - 2
lib/vector/Vlib/open.c

@@ -15,7 +15,6 @@
  * \author Update to GRASS 5.7 Radim Blazek and David D. Gray.
  * \author Update to GRASS 5.7 Radim Blazek and David D. Gray.
  */
  */
 
 
-#include <grass/config.h>
 #include <stdlib.h>
 #include <stdlib.h>
 #include <stdio.h>
 #include <stdio.h>
 #include <string.h>
 #include <string.h>
@@ -23,7 +22,6 @@
 #include <sys/types.h>
 #include <sys/types.h>
 #include <sys/stat.h>
 #include <sys/stat.h>
 
 
-#include <grass/gis.h>
 #include <grass/vector.h>
 #include <grass/vector.h>
 #include <grass/glocale.h>
 #include <grass/glocale.h>
 
 

+ 0 - 2
lib/vector/Vlib/open_nat.c

@@ -14,13 +14,11 @@
   \author Update to GRASS 5.7 Radim Blazek and David D. Gray.
   \author Update to GRASS 5.7 Radim Blazek and David D. Gray.
  */
  */
 
 
-#include <grass/config.h>
 #include <unistd.h>
 #include <unistd.h>
 #include <sys/types.h>
 #include <sys/types.h>
 #include <sys/stat.h>
 #include <sys/stat.h>
 
 
 #include <grass/vector.h>
 #include <grass/vector.h>
-#include <grass/gis.h>
 #include <grass/glocale.h>
 #include <grass/glocale.h>
 
 
 static char name_buf[GPATH_MAX];
 static char name_buf[GPATH_MAX];

+ 0 - 2
lib/vector/Vlib/open_ogr.c

@@ -15,13 +15,11 @@
    \author Update to GRASS 7.0 Martin Landa <landa.martin gmail.com> (2009)
    \author Update to GRASS 7.0 Martin Landa <landa.martin gmail.com> (2009)
  */
  */
 
 
-#include <grass/config.h>
 #include <unistd.h>
 #include <unistd.h>
 #include <string.h>
 #include <string.h>
 #include <sys/types.h>
 #include <sys/types.h>
 #include <sys/stat.h>
 #include <sys/stat.h>
 
 
-#include <grass/gis.h>
 #include <grass/vector.h>
 #include <grass/vector.h>
 #include <grass/gprojects.h>
 #include <grass/gprojects.h>
 #include <grass/glocale.h>
 #include <grass/glocale.h>

+ 0 - 2
lib/vector/Vlib/overlap.c

@@ -14,8 +14,6 @@
    \author Update to GRASS 5.7 Radim Blazek and David D. Gray.
    \author Update to GRASS 5.7 Radim Blazek and David D. Gray.
  */
  */
 
 
-#include <grass/config.h>
-#include <grass/gis.h>
 #include <grass/vector.h>
 #include <grass/vector.h>
 
 
 /*!
 /*!

+ 0 - 1
lib/vector/Vlib/overlay.c

@@ -16,7 +16,6 @@
    \author Radim Blazek
    \author Radim Blazek
 */
 */
 
 
-#include <grass/config.h>
 #include <string.h>
 #include <string.h>
 #include <grass/vector.h>
 #include <grass/vector.h>
 #include <grass/glocale.h>
 #include <grass/glocale.h>

+ 2 - 5
lib/vector/Vlib/poly.c

@@ -14,11 +14,9 @@
    \author Update to GRASS 5.7 Radim Blazek and David D. Gray.
    \author Update to GRASS 5.7 Radim Blazek and David D. Gray.
  */
  */
 
 
-#include <grass/config.h>
 #include <math.h>
 #include <math.h>
 #include <stdlib.h>
 #include <stdlib.h>
 #include <grass/vector.h>
 #include <grass/vector.h>
-#include <grass/gis.h>
 #include <grass/linkm.h>
 #include <grass/linkm.h>
 #include <grass/glocale.h>
 #include <grass/glocale.h>
 
 
@@ -445,9 +443,8 @@ Vect_get_point_in_poly_isl(const struct line_pnts *Points,
     /* get centroid */
     /* get centroid */
     Vect_find_poly_centroid(Points, &cent_x, &cent_y);
     Vect_find_poly_centroid(Points, &cent_x, &cent_y);
     /* is it w/in poly? */
     /* is it w/in poly? */
-    if (Vect_point_in_poly(cent_x, cent_y, Points) == 1)
-	/* if the point is iside the polygon */
-    {
+    if (Vect_point_in_poly(cent_x, cent_y, Points) == 1) {
+	/* if the point is inside the polygon */
 	for (i = 0; i < n_isles; i++) {
 	for (i = 0; i < n_isles; i++) {
 	    if (Vect_point_in_poly(cent_x, cent_y, IPoints[i]) >= 1) {
 	    if (Vect_point_in_poly(cent_x, cent_y, IPoints[i]) >= 1) {
 		point_in_sles = 1;
 		point_in_sles = 1;

+ 0 - 1
lib/vector/Vlib/read.c

@@ -14,7 +14,6 @@
    \author Update to GRASS 5.7 Radim Blazek and David D. Gray.
    \author Update to GRASS 5.7 Radim Blazek and David D. Gray.
  */
  */
 
 
-#include <grass/config.h>
 #include <sys/types.h>
 #include <sys/types.h>
 #include <grass/vector.h>
 #include <grass/vector.h>
 #include <grass/glocale.h>
 #include <grass/glocale.h>

+ 0 - 2
lib/vector/Vlib/read_nat.c

@@ -19,9 +19,7 @@
    \author Update to GRASS 5.7 Radim Blazek and David D. Gray.
    \author Update to GRASS 5.7 Radim Blazek and David D. Gray.
  */
  */
 
 
-#include <grass/config.h>
 #include <sys/types.h>
 #include <sys/types.h>
-#include <grass/gis.h>
 #include <grass/vector.h>
 #include <grass/vector.h>
 #include <grass/glocale.h>
 #include <grass/glocale.h>
 
 

+ 0 - 2
lib/vector/Vlib/read_ogr.c

@@ -14,8 +14,6 @@
    \author Martin Landa <landa.martin gmail.com>
    \author Martin Landa <landa.martin gmail.com>
  */
  */
 
 
-#include <grass/config.h>
-#include <grass/gis.h>
 #include <grass/vector.h>
 #include <grass/vector.h>
 #include <grass/glocale.h>
 #include <grass/glocale.h>
 
 

+ 0 - 2
lib/vector/Vlib/remove_areas.c

@@ -13,9 +13,7 @@
    \author Radim Blazek
    \author Radim Blazek
  */
  */
 
 
-#include <grass/config.h>
 #include <stdlib.h>
 #include <stdlib.h>
-#include <grass/gis.h>
 #include <grass/vector.h>
 #include <grass/vector.h>
 #include <grass/glocale.h>
 #include <grass/glocale.h>
 
 

+ 0 - 2
lib/vector/Vlib/remove_duplicates.c

@@ -13,9 +13,7 @@
    \author Radim Blazek
    \author Radim Blazek
  */
  */
 
 
-#include <grass/config.h>
 #include <stdlib.h>
 #include <stdlib.h>
-#include <grass/gis.h>
 #include <grass/vector.h>
 #include <grass/vector.h>
 #include <grass/glocale.h>
 #include <grass/glocale.h>
 
 

+ 0 - 2
lib/vector/Vlib/rewind_ogr.c

@@ -13,8 +13,6 @@
    \author Radim Blazek, Piero Cavalieri 
    \author Radim Blazek, Piero Cavalieri 
 */
 */
 
 
-#include <grass/config.h>
-#include <grass/gis.h>
 #include <grass/vector.h>
 #include <grass/vector.h>
 
 
 #ifdef HAVE_OGR
 #ifdef HAVE_OGR

+ 0 - 3
lib/vector/Vlib/select.c

@@ -13,13 +13,10 @@
    \author Radim Blazek
    \author Radim Blazek
  */
  */
 
 
-#include <grass/config.h>
 #include <stdlib.h>
 #include <stdlib.h>
 #include <unistd.h>
 #include <unistd.h>
 #include <sys/stat.h>
 #include <sys/stat.h>
 #include <string.h>
 #include <string.h>
-#include <grass/glocale.h>
-#include <grass/gis.h>
 #include <grass/vector.h>
 #include <grass/vector.h>
 #include <grass/glocale.h>
 #include <grass/glocale.h>
 
 

+ 0 - 2
lib/vector/Vlib/sindex.c

@@ -13,9 +13,7 @@
    \author Radim Blazek
    \author Radim Blazek
  */
  */
 
 
-#include <grass/config.h>
 #include <stdlib.h>
 #include <stdlib.h>
-#include <grass/gis.h>
 #include <grass/vector.h>
 #include <grass/vector.h>
 
 
 /*!
 /*!

+ 0 - 2
lib/vector/Vlib/snap.c

@@ -14,13 +14,11 @@
  * \author update to GRASS 7 Markus Metz
  * \author update to GRASS 7 Markus Metz
  */
  */
 
 
-#include <grass/config.h>
 #include <stdlib.h>
 #include <stdlib.h>
 #include <sys/stat.h>
 #include <sys/stat.h>
 #include <fcntl.h>
 #include <fcntl.h>
 #include <unistd.h>
 #include <unistd.h>
 #include <math.h>
 #include <math.h>
-#include <grass/gis.h>
 #include <grass/vector.h>
 #include <grass/vector.h>
 #include <grass/glocale.h>
 #include <grass/glocale.h>
 
 

+ 0 - 2
lib/vector/Vlib/type.c

@@ -13,8 +13,6 @@
    \author Radim Blazek
    \author Radim Blazek
  */
  */
 
 
-#include <grass/config.h>
-#include <grass/gis.h>
 #include <grass/vector.h>
 #include <grass/vector.h>
 
 
 /*!
 /*!

+ 0 - 2
lib/vector/Vlib/write.c

@@ -14,9 +14,7 @@
    \author Updated by Martin Landa <landa.martin gmail.com> (restore lines, OGR support)
    \author Updated by Martin Landa <landa.martin gmail.com> (restore lines, OGR support)
  */
  */
 
 
-#include <grass/config.h>
 #include <sys/types.h>
 #include <sys/types.h>
-#include <grass/gis.h>
 #include <grass/glocale.h>
 #include <grass/glocale.h>
 #include <grass/vector.h>
 #include <grass/vector.h>
 
 

+ 0 - 2
lib/vector/Vlib/write_nat.c

@@ -21,12 +21,10 @@
    \author V*_restore_line() by Martin Landa <landa.martin gmail.com> (2008)
    \author V*_restore_line() by Martin Landa <landa.martin gmail.com> (2008)
  */
  */
 
 
-#include <grass/config.h>
 #include <stdio.h>
 #include <stdio.h>
 #include <stdlib.h>
 #include <stdlib.h>
 #include <math.h>
 #include <math.h>
 
 
-#include <grass/gis.h>
 #include <grass/vector.h>
 #include <grass/vector.h>
 #include <grass/glocale.h>
 #include <grass/glocale.h>
 
 

+ 0 - 1
lib/vector/Vlib/write_ogr.c

@@ -15,7 +15,6 @@
    \author Martin Landa <landa.martin gmail.com>
    \author Martin Landa <landa.martin gmail.com>
  */
  */
 
 
-#include <grass/config.h>
 #include <grass/vector.h>
 #include <grass/vector.h>
 #include <grass/dbmi.h>
 #include <grass/dbmi.h>
 #include <grass/glocale.h>
 #include <grass/glocale.h>