فهرست منبع

r.to.vect: Fix a couple of compile errors/warnings

git-svn-id: https://svn.osgeo.org/grass/grass/trunk@70509 15284696-431f-4ddb-bdfa-cd5b030d7da7
Huidae Cho 8 سال پیش
والد
کامیت
018442c77e
2فایلهای تغییر یافته به همراه7 افزوده شده و 4 حذف شده
  1. 1 1
      raster/r.to.vect/areas_io.c
  2. 6 3
      raster/r.to.vect/global.h

+ 1 - 1
raster/r.to.vect/areas_io.c

@@ -34,7 +34,7 @@ static int write_smooth_bnd(struct COOR *, struct COOR *, int);
 int write_boundary(struct COOR *seed)
 {
     struct COOR *point, *line_begin, *line_end, *last;
-    int dir, line_type, n, n1, i;
+    int dir, line_type, n, n1;
 
     point = seed;
     if ((dir = at_end(point))) {	/* already have one end of line */

+ 6 - 3
raster/r.to.vect/global.h

@@ -104,7 +104,7 @@ int alloc_lines_bufs(int);
 int extract_lines(void);
 
 /* lines_io.c */
-int write_line(struct COOR *seed);
+int write_line(struct COOR *);
 
 /* areas.c */
 int alloc_areas_bufs(int);
@@ -112,7 +112,7 @@ int extract_areas(void);
 int more_equivs(void);
 
 /* areas_io.c */
-int write_boundary(struct COOR *seed);
+int write_boundary(struct COOR *);
 int write_area(struct area_table *, struct equiv_table *, int, int);
 
 /* points.c */
@@ -124,4 +124,7 @@ struct COOR *find_end(struct COOR *, int, int *, int *);
 int at_end(struct COOR *);
 int read_row(void *);
 void insert_value(int, int, double);
-int free_ptr(struct COOR *ptr);
+int free_ptr(struct COOR *);
+
+/* set_error_handler.c */
+void set_error_handler(struct Map_info *, dbDriver **);