浏览代码

vlib: update prototype for Vect_build_sidx_from_topo()

git-svn-id: https://svn.osgeo.org/grass/grass/trunk@51090 15284696-431f-4ddb-bdfa-cd5b030d7da7
Martin Landa 13 年之前
父节点
当前提交
7712f5dbc6
共有 2 个文件被更改,包括 2 次插入2 次删除
  1. 1 1
      include/defs/vector.h
  2. 1 1
      lib/vector/Vlib/build.c

+ 1 - 1
include/defs/vector.h

@@ -460,7 +460,7 @@ int Vect_save_topo(struct Map_info *);
 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 *);

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

@@ -1047,7 +1047,7 @@ int Vect_build_sidx(struct Map_info *Map)
 
    \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",