[GRASS-SVN] r61885 - grass/trunk/lib/raster3d/test

svn_grass at osgeo.org svn_grass at osgeo.org
Fri Sep 12 13:36:27 PDT 2014


Author: huhabla
Date: 2014-09-12 13:36:27 -0700 (Fri, 12 Sep 2014)
New Revision: 61885

Modified:
   grass/trunk/lib/raster3d/test/test_raster3d_lib.h
   grass/trunk/lib/raster3d/test/test_tools.c
Log:
raster3d library test: Moved time include to header file for correct function prototype definition


Modified: grass/trunk/lib/raster3d/test/test_raster3d_lib.h
===================================================================
--- grass/trunk/lib/raster3d/test/test_raster3d_lib.h	2014-09-12 16:11:53 UTC (rev 61884)
+++ grass/trunk/lib/raster3d/test/test_raster3d_lib.h	2014-09-12 20:36:27 UTC (rev 61885)
@@ -21,10 +21,11 @@
 #include <grass/raster3d.h>
 #include <grass/gis.h>
 #include <grass/glocale.h>
+#include <sys/time.h>
 
-double compute_time_difference(struct timeval start, struct timeval end);
+double compute_time_difference(struct timeval, struct timeval);
 int unit_test_coordinate_transform(void);
 int unit_test_put_get_value(void);
-int unit_test_put_get_value_large_file(int depths, int rows, int cols, int tile_size);
+int unit_test_put_get_value_large_file(int, int, int, int);
 
 #endif

Modified: grass/trunk/lib/raster3d/test/test_tools.c
===================================================================
--- grass/trunk/lib/raster3d/test/test_tools.c	2014-09-12 16:11:53 UTC (rev 61884)
+++ grass/trunk/lib/raster3d/test/test_tools.c	2014-09-12 20:36:27 UTC (rev 61885)
@@ -20,7 +20,6 @@
 #include <string.h>
 #include <math.h>
 #include "test_raster3d_lib.h"
-#include <sys/time.h>
 
 /* *************************************************************** */
 /* Compute the difference between two time steps ***************** */



More information about the grass-commit mailing list