[GRASS-SVN] r54178 - grass/branches/releasebranch_6_4/lib/vector/Vlib

svn_grass at osgeo.org svn_grass at osgeo.org
Tue Dec 4 09:04:18 PST 2012


Author: martinl
Date: 2012-12-04 09:04:18 -0800 (Tue, 04 Dec 2012)
New Revision: 54178

Modified:
   grass/branches/releasebranch_6_4/lib/vector/Vlib/snap.c
Log:
fix r54135
find_item must be defined as static
problem detected on Ubuntu 12.10 - find_item() from snap.c is called instead of find_item.c from loc_pad.c


Modified: grass/branches/releasebranch_6_4/lib/vector/Vlib/snap.c
===================================================================
--- grass/branches/releasebranch_6_4/lib/vector/Vlib/snap.c	2012-12-04 16:42:48 UTC (rev 54177)
+++ grass/branches/releasebranch_6_4/lib/vector/Vlib/snap.c	2012-12-04 17:04:18 UTC (rev 54178)
@@ -64,14 +64,14 @@
 }
 
 /* This function is called by RTreeSearch() to add selected node/line/area/isle to the list */
-int add_item(int id, struct ilist *list)
+static int add_item(int id, struct ilist *list)
 {
     dig_list_add(list, id);
     return 1;
 }
 
 /* This function is called by RTreeSearch() to find an item in the list */
-int find_item(int id, struct ilist *list)
+static int find_item(int id, struct ilist *list)
 {
     dig_list_add(list, id);
     return 0;



More information about the grass-commit mailing list