Selaa lähdekoodia

Vlib: static where possible

git-svn-id: https://svn.osgeo.org/grass/grass/trunk@52545 15284696-431f-4ddb-bdfa-cd5b030d7da7
Markus Metz 12 vuotta sitten
vanhempi
commit
4d689f12f2
2 muutettua tiedostoa jossa 2 lisäystä ja 2 poistoa
  1. 1 1
      lib/vector/Vlib/break_polygons.c
  2. 1 1
      lib/vector/Vlib/snap.c

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

@@ -73,7 +73,7 @@ typedef struct
 static int fpoint;
 
 /* Function called from RTreeSearch for point found */
-void srch(int id, const struct RTree_Rect *rect, int *arg)
+static void srch(int id, const struct RTree_Rect *rect, int *arg)
 {
     fpoint = id;
 }

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

@@ -41,7 +41,7 @@ typedef struct
 } NEW;
 
 /* This function is called by RTreeSearch() to add selected node/line/area/isle to the list */
-int add_item(int id, const struct RTree_Rect *rect, struct ilist *list)
+static int add_item(int id, const struct RTree_Rect *rect, struct ilist *list)
 {
     G_ilist_add(list, id);
     return 1;