[GRASS-SVN] r52545 - grass/trunk/lib/vector/Vlib

svn_grass at osgeo.org svn_grass at osgeo.org
Sun Aug 5 13:29:09 PDT 2012


Author: mmetz
Date: 2012-08-05 13:29:08 -0700 (Sun, 05 Aug 2012)
New Revision: 52545

Modified:
   grass/trunk/lib/vector/Vlib/break_polygons.c
   grass/trunk/lib/vector/Vlib/snap.c
Log:
Vlib: static where possible

Modified: grass/trunk/lib/vector/Vlib/break_polygons.c
===================================================================
--- grass/trunk/lib/vector/Vlib/break_polygons.c	2012-08-05 20:26:11 UTC (rev 52544)
+++ grass/trunk/lib/vector/Vlib/break_polygons.c	2012-08-05 20:29:08 UTC (rev 52545)
@@ -73,7 +73,7 @@
 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;
 }

Modified: grass/trunk/lib/vector/Vlib/snap.c
===================================================================
--- grass/trunk/lib/vector/Vlib/snap.c	2012-08-05 20:26:11 UTC (rev 52544)
+++ grass/trunk/lib/vector/Vlib/snap.c	2012-08-05 20:29:08 UTC (rev 52545)
@@ -41,7 +41,7 @@
 } 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;



More information about the grass-commit mailing list