[GRASS-SVN] r45104 - grass/trunk/lib/vector/diglib
svn_grass at osgeo.org
svn_grass at osgeo.org
Thu Jan 20 11:10:11 EST 2011
Author: mmetz
Date: 2011-01-20 08:10:11 -0800 (Thu, 20 Jan 2011)
New Revision: 45104
Modified:
grass/trunk/lib/vector/diglib/allocation.c
grass/trunk/lib/vector/diglib/angle.c
grass/trunk/lib/vector/diglib/box.c
grass/trunk/lib/vector/diglib/cindex.c
grass/trunk/lib/vector/diglib/cindex_rw.c
grass/trunk/lib/vector/diglib/file.c
grass/trunk/lib/vector/diglib/frmt.c
grass/trunk/lib/vector/diglib/head.c
grass/trunk/lib/vector/diglib/inside.c
grass/trunk/lib/vector/diglib/list.c
grass/trunk/lib/vector/diglib/plus.c
grass/trunk/lib/vector/diglib/plus_area.c
grass/trunk/lib/vector/diglib/plus_line.c
grass/trunk/lib/vector/diglib/plus_node.c
grass/trunk/lib/vector/diglib/plus_struct.c
grass/trunk/lib/vector/diglib/poly.c
grass/trunk/lib/vector/diglib/port_init.c
grass/trunk/lib/vector/diglib/port_test.c
grass/trunk/lib/vector/diglib/portable.c
grass/trunk/lib/vector/diglib/prune.c
grass/trunk/lib/vector/diglib/spindex.c
grass/trunk/lib/vector/diglib/spindex_rw.c
grass/trunk/lib/vector/diglib/struct_alloc.c
grass/trunk/lib/vector/diglib/test.c
grass/trunk/lib/vector/diglib/type.c
grass/trunk/lib/vector/diglib/update.c
Log:
update headers, revert r37860
Modified: grass/trunk/lib/vector/diglib/allocation.c
===================================================================
--- grass/trunk/lib/vector/diglib/allocation.c 2011-01-20 16:06:02 UTC (rev 45103)
+++ grass/trunk/lib/vector/diglib/allocation.c 2011-01-20 16:10:11 UTC (rev 45104)
@@ -15,7 +15,6 @@
* for details.
*
*****************************************************************************/
-#include <grass/config.h>
#include <unistd.h>
#include <stdlib.h>
#include <grass/vector.h>
Modified: grass/trunk/lib/vector/diglib/angle.c
===================================================================
--- grass/trunk/lib/vector/diglib/angle.c 2011-01-20 16:06:02 UTC (rev 45103)
+++ grass/trunk/lib/vector/diglib/angle.c 2011-01-20 16:10:11 UTC (rev 45104)
@@ -22,7 +22,6 @@
* returns - (float)(-9) if only 1 point or more points but identical
*/
-#include <grass/config.h>
#include <stdio.h>
#include <math.h>
#include <grass/vector.h>
Modified: grass/trunk/lib/vector/diglib/box.c
===================================================================
--- grass/trunk/lib/vector/diglib/box.c 2011-01-20 16:06:02 UTC (rev 45103)
+++ grass/trunk/lib/vector/diglib/box.c 2011-01-20 16:10:11 UTC (rev 45104)
@@ -14,7 +14,6 @@
* for details.
*
*****************************************************************************/
-#include <grass/config.h>
#include <stdlib.h>
#include <grass/vector.h>
Modified: grass/trunk/lib/vector/diglib/cindex.c
===================================================================
--- grass/trunk/lib/vector/diglib/cindex.c 2011-01-20 16:06:02 UTC (rev 45103)
+++ grass/trunk/lib/vector/diglib/cindex.c 2011-01-20 16:10:11 UTC (rev 45104)
@@ -14,10 +14,8 @@
* for details.
*
*****************************************************************************/
-#include <grass/config.h>
#include <stdlib.h>
#include <string.h>
-#include <grass/gis.h>
#include <grass/vector.h>
/*!
Modified: grass/trunk/lib/vector/diglib/cindex_rw.c
===================================================================
--- grass/trunk/lib/vector/diglib/cindex_rw.c 2011-01-20 16:06:02 UTC (rev 45103)
+++ grass/trunk/lib/vector/diglib/cindex_rw.c 2011-01-20 16:10:11 UTC (rev 45104)
@@ -14,11 +14,9 @@
* for details.
*
*****************************************************************************/
-#include <grass/config.h>
#include <stdlib.h>
#include <sys/types.h>
#include <string.h>
-#include <grass/gis.h>
#include <grass/vector.h>
int dig_write_cidx_head(struct gvfile * fp, struct Plus_head *plus)
Modified: grass/trunk/lib/vector/diglib/file.c
===================================================================
--- grass/trunk/lib/vector/diglib/file.c 2011-01-20 16:06:02 UTC (rev 45103)
+++ grass/trunk/lib/vector/diglib/file.c 2011-01-20 16:10:11 UTC (rev 45104)
@@ -18,13 +18,11 @@
\author Update to GRASS 5.7 Radim Blazek
*/
-#include <grass/config.h>
#include <string.h>
#include <stdio.h>
#include <unistd.h>
#include <sys/types.h>
#include <sys/stat.h>
-#include <grass/gis.h>
#include <grass/vector.h>
#include <grass/glocale.h>
Modified: grass/trunk/lib/vector/diglib/frmt.c
===================================================================
--- grass/trunk/lib/vector/diglib/frmt.c 2011-01-20 16:06:02 UTC (rev 45103)
+++ grass/trunk/lib/vector/diglib/frmt.c 2011-01-20 16:10:11 UTC (rev 45104)
@@ -14,11 +14,9 @@
* for details.
*
*****************************************************************************/
-#include <grass/config.h>
#include <string.h>
#include <stdio.h>
#include <grass/vector.h>
-#include <grass/gis.h>
/*!
\brief Read external vector format file
Modified: grass/trunk/lib/vector/diglib/head.c
===================================================================
--- grass/trunk/lib/vector/diglib/head.c 2011-01-20 16:06:02 UTC (rev 45103)
+++ grass/trunk/lib/vector/diglib/head.c 2011-01-20 16:10:11 UTC (rev 45104)
@@ -15,10 +15,8 @@
* for details.
*
*****************************************************************************/
-#include <grass/config.h>
#include <sys/types.h>
#include <string.h>
-#include <grass/gis.h>
#include <grass/vector.h>
int dig__write_head(struct Map_info *Map)
Modified: grass/trunk/lib/vector/diglib/inside.c
===================================================================
--- grass/trunk/lib/vector/diglib/inside.c 2011-01-20 16:06:02 UTC (rev 45103)
+++ grass/trunk/lib/vector/diglib/inside.c 2011-01-20 16:10:11 UTC (rev 45104)
@@ -15,8 +15,6 @@
* for details.
*
*****************************************************************************/
-#include <grass/config.h>
-#include <grass/gis.h>
#include <grass/vector.h>
double
Modified: grass/trunk/lib/vector/diglib/list.c
===================================================================
--- grass/trunk/lib/vector/diglib/list.c 2011-01-20 16:06:02 UTC (rev 45103)
+++ grass/trunk/lib/vector/diglib/list.c 2011-01-20 16:10:11 UTC (rev 45104)
@@ -15,9 +15,7 @@
* for details.
*
*****************************************************************************/
-#include <grass/config.h>
#include <stdlib.h>
-#include <grass/gis.h>
#include <grass/vector.h>
/* Init int_list */
Modified: grass/trunk/lib/vector/diglib/plus.c
===================================================================
--- grass/trunk/lib/vector/diglib/plus.c 2011-01-20 16:06:02 UTC (rev 45103)
+++ grass/trunk/lib/vector/diglib/plus.c 2011-01-20 16:10:11 UTC (rev 45104)
@@ -14,12 +14,10 @@
* \date 2001-2006
*/
-#include <grass/config.h>
#include <sys/types.h>
#include <unistd.h>
#include <stdlib.h>
#include <stdio.h>
-#include <grass/gis.h>
#include <grass/vector.h>
#include <grass/glocale.h>
Modified: grass/trunk/lib/vector/diglib/plus_area.c
===================================================================
--- grass/trunk/lib/vector/diglib/plus_area.c 2011-01-20 16:06:02 UTC (rev 45103)
+++ grass/trunk/lib/vector/diglib/plus_area.c 2011-01-20 16:10:11 UTC (rev 45104)
@@ -14,7 +14,6 @@
* \date 2001-2006
*/
-#include <grass/config.h>
#include <stdlib.h>
#include <grass/vector.h>
#include <grass/glocale.h>
Modified: grass/trunk/lib/vector/diglib/plus_line.c
===================================================================
--- grass/trunk/lib/vector/diglib/plus_line.c 2011-01-20 16:06:02 UTC (rev 45103)
+++ grass/trunk/lib/vector/diglib/plus_line.c 2011-01-20 16:10:11 UTC (rev 45104)
@@ -14,7 +14,6 @@
* \date 2001-2008
*/
-#include <grass/config.h>
#include <sys/types.h>
#include <stdlib.h>
#include <grass/vector.h>
Modified: grass/trunk/lib/vector/diglib/plus_node.c
===================================================================
--- grass/trunk/lib/vector/diglib/plus_node.c 2011-01-20 16:06:02 UTC (rev 45103)
+++ grass/trunk/lib/vector/diglib/plus_node.c 2011-01-20 16:10:11 UTC (rev 45104)
@@ -14,7 +14,6 @@
* \date 2001-2006
*/
-#include <grass/config.h>
#include <stdlib.h>
#include <math.h>
#include <grass/vector.h>
Modified: grass/trunk/lib/vector/diglib/plus_struct.c
===================================================================
--- grass/trunk/lib/vector/diglib/plus_struct.c 2011-01-20 16:06:02 UTC (rev 45103)
+++ grass/trunk/lib/vector/diglib/plus_struct.c 2011-01-20 16:10:11 UTC (rev 45104)
@@ -15,10 +15,8 @@
* for details.
*
*****************************************************************************/
-#include <grass/config.h>
#include <sys/types.h>
#include <string.h>
-#include <grass/gis.h>
#include <grass/vector.h>
/*
Modified: grass/trunk/lib/vector/diglib/poly.c
===================================================================
--- grass/trunk/lib/vector/diglib/poly.c 2011-01-20 16:06:02 UTC (rev 45103)
+++ grass/trunk/lib/vector/diglib/poly.c 2011-01-20 16:10:11 UTC (rev 45104)
@@ -16,7 +16,6 @@
* for details.
*
*****************************************************************************/
-#include <grass/config.h>
#include <math.h>
#include <grass/vector.h>
Modified: grass/trunk/lib/vector/diglib/port_init.c
===================================================================
--- grass/trunk/lib/vector/diglib/port_init.c 2011-01-20 16:06:02 UTC (rev 45103)
+++ grass/trunk/lib/vector/diglib/port_init.c 2011-01-20 16:10:11 UTC (rev 45104)
@@ -76,7 +76,6 @@
\author Update to GRASS 5.7 Radim Blazek
*/
-#include <grass/config.h>
#include <stdio.h>
#include <sys/types.h>
#include <grass/vector.h>
Modified: grass/trunk/lib/vector/diglib/port_test.c
===================================================================
--- grass/trunk/lib/vector/diglib/port_test.c 2011-01-20 16:06:02 UTC (rev 45103)
+++ grass/trunk/lib/vector/diglib/port_test.c 2011-01-20 16:10:11 UTC (rev 45104)
@@ -15,7 +15,6 @@
* for details.
*
*****************************************************************************/
-#include <grass/config.h>
#include <stdio.h>
#include <sys/types.h>
#include <grass/vector.h>
Modified: grass/trunk/lib/vector/diglib/portable.c
===================================================================
--- grass/trunk/lib/vector/diglib/portable.c 2011-01-20 16:06:02 UTC (rev 45103)
+++ grass/trunk/lib/vector/diglib/portable.c 2011-01-20 16:10:11 UTC (rev 45104)
@@ -14,10 +14,8 @@
\author Update to GRASS 5.7 Radim Blazek
*/
-#include <grass/config.h>
#include <sys/types.h>
#include <string.h>
-#include <grass/gis.h>
#include <grass/vector.h>
#include <grass/glocale.h>
Modified: grass/trunk/lib/vector/diglib/prune.c
===================================================================
--- grass/trunk/lib/vector/diglib/prune.c 2011-01-20 16:06:02 UTC (rev 45103)
+++ grass/trunk/lib/vector/diglib/prune.c 2011-01-20 16:10:11 UTC (rev 45104)
@@ -67,7 +67,6 @@
* Value returned : - the final number of points in the pruned set.
*/
-#include <grass/config.h>
#include <stdio.h>
#include <grass/vector.h>
#include <math.h>
Modified: grass/trunk/lib/vector/diglib/spindex.c
===================================================================
--- grass/trunk/lib/vector/diglib/spindex.c 2011-01-20 16:06:02 UTC (rev 45103)
+++ grass/trunk/lib/vector/diglib/spindex.c 2011-01-20 16:10:11 UTC (rev 45104)
@@ -21,7 +21,6 @@
#include <fcntl.h>
#include <unistd.h>
#include <string.h>
-#include <grass/gis.h>
#include <grass/vector.h>
#include <grass/glocale.h>
Modified: grass/trunk/lib/vector/diglib/spindex_rw.c
===================================================================
--- grass/trunk/lib/vector/diglib/spindex_rw.c 2011-01-20 16:06:02 UTC (rev 45103)
+++ grass/trunk/lib/vector/diglib/spindex_rw.c 2011-01-20 16:10:11 UTC (rev 45104)
@@ -15,12 +15,10 @@
\author Update to GRASS 7 Markus Metz
*/
-#include <grass/config.h>
#include <sys/types.h>
#include <stdlib.h>
#include <string.h>
#include <assert.h>
-#include <grass/gis.h>
#include <grass/vector.h>
#include <grass/glocale.h>
Modified: grass/trunk/lib/vector/diglib/struct_alloc.c
===================================================================
--- grass/trunk/lib/vector/diglib/struct_alloc.c 2011-01-20 16:06:02 UTC (rev 45103)
+++ grass/trunk/lib/vector/diglib/struct_alloc.c 2011-01-20 16:10:11 UTC (rev 45104)
@@ -16,7 +16,6 @@
*
*****************************************************************************/
-#include <grass/config.h>
#include <stdlib.h>
#include <grass/vector.h>
Modified: grass/trunk/lib/vector/diglib/test.c
===================================================================
--- grass/trunk/lib/vector/diglib/test.c 2011-01-20 16:06:02 UTC (rev 45103)
+++ grass/trunk/lib/vector/diglib/test.c 2011-01-20 16:10:11 UTC (rev 45104)
@@ -15,7 +15,6 @@
* for details.
*
*****************************************************************************/
-#include <grass/config.h>
#include <stdlib.h>
#include <stdio.h>
#include <sys/types.h>
Modified: grass/trunk/lib/vector/diglib/type.c
===================================================================
--- grass/trunk/lib/vector/diglib/type.c 2011-01-20 16:06:02 UTC (rev 45103)
+++ grass/trunk/lib/vector/diglib/type.c 2011-01-20 16:10:11 UTC (rev 45104)
@@ -14,8 +14,6 @@
* \date 2001
*/
-#include <grass/config.h>
-#include <grass/gis.h>
#include <grass/vector.h>
/*!
Modified: grass/trunk/lib/vector/diglib/update.c
===================================================================
--- grass/trunk/lib/vector/diglib/update.c 2011-01-20 16:06:02 UTC (rev 45103)
+++ grass/trunk/lib/vector/diglib/update.c 2011-01-20 16:10:11 UTC (rev 45104)
@@ -14,9 +14,7 @@
* \author Radim Blazek
*/
-#include <grass/config.h>
#include <stdlib.h>
-#include <grass/gis.h>
#include <grass/vector.h>
/*!
More information about the grass-commit
mailing list