[GRASS-SVN] r54177 - grass/branches/develbranch_6/lib/vector/Vlib
svn_grass at osgeo.org
svn_grass at osgeo.org
Tue Dec 4 08:42:48 PST 2012
Author: martinl
Date: 2012-12-04 08:42:48 -0800 (Tue, 04 Dec 2012)
New Revision: 54177
Modified:
grass/branches/develbranch_6/lib/vector/Vlib/snap.c
Log:
fix r54133
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/develbranch_6/lib/vector/Vlib/snap.c
===================================================================
--- grass/branches/develbranch_6/lib/vector/Vlib/snap.c 2012-12-04 10:17:41 UTC (rev 54176)
+++ grass/branches/develbranch_6/lib/vector/Vlib/snap.c 2012-12-04 16:42:48 UTC (rev 54177)
@@ -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