[GRASS-SVN] r51090 - in grass/trunk: include/defs lib/vector/Vlib

svn_grass at osgeo.org svn_grass at osgeo.org
Sat Mar 17 10:34:35 EDT 2012


Author: martinl
Date: 2012-03-17 07:34:35 -0700 (Sat, 17 Mar 2012)
New Revision: 51090

Modified:
   grass/trunk/include/defs/vector.h
   grass/trunk/lib/vector/Vlib/build.c
Log:
vlib: update prototype for Vect_build_sidx_from_topo()


Modified: grass/trunk/include/defs/vector.h
===================================================================
--- grass/trunk/include/defs/vector.h	2012-03-17 14:21:01 UTC (rev 51089)
+++ grass/trunk/include/defs/vector.h	2012-03-17 14:34:35 UTC (rev 51090)
@@ -460,7 +460,7 @@
 int Vect_open_sidx(struct Map_info *, int);
 int Vect_save_sidx(struct Map_info *);
 int Vect_sidx_dump(const struct Map_info *, FILE *);
-int Vect_build_sidx_from_topo(struct Map_info *);
+int Vect_build_sidx_from_topo(const struct Map_info *);
 int Vect_build_sidx(struct Map_info *);
 int Vect_open_fidx(struct Map_info *, struct Format_info_offset *);
 int Vect_save_fidx(struct Map_info *, struct Format_info_offset *);

Modified: grass/trunk/lib/vector/Vlib/build.c
===================================================================
--- grass/trunk/lib/vector/Vlib/build.c	2012-03-17 14:21:01 UTC (rev 51089)
+++ grass/trunk/lib/vector/Vlib/build.c	2012-03-17 14:34:35 UTC (rev 51090)
@@ -1047,7 +1047,7 @@
 
    \return 1
  */
-int Vect_build_sidx_from_topo(struct Map_info *Map)
+int Vect_build_sidx_from_topo(const struct Map_info *Map)
 {
 
     G_debug(3, "Vect_build_sidx_from_topo(): name=%s",



More information about the grass-commit mailing list