[GRASS-SVN] r38010 - in grass/trunk: include lib/raster

svn_grass at osgeo.org svn_grass at osgeo.org
Sun Jun 21 09:59:30 EDT 2009


Author: martinl
Date: 2009-06-21 09:59:29 -0400 (Sun, 21 Jun 2009)
New Revision: 38010

Modified:
   grass/trunk/include/Rast.h
   grass/trunk/lib/raster/init.c
Log:
add prototypes of raster lib init fns


Modified: grass/trunk/include/Rast.h
===================================================================
--- grass/trunk/include/Rast.h	2009-06-21 12:59:15 UTC (rev 38009)
+++ grass/trunk/include/Rast.h	2009-06-21 13:59:29 UTC (rev 38010)
@@ -363,6 +363,11 @@
 void Rast_short_history(const char *, const char *, struct History *);
 int Rast_command_history(struct History *);
 
+/* init.c */
+void Rast__init(void);
+void Rast__check_init(void);
+void Rast_init_all(void);
+
 /* interp.c */
 DCELL Rast_interp_linear(double, DCELL, DCELL);
 DCELL Rast_interp_bilinear(double, double, DCELL, DCELL, DCELL, DCELL);

Modified: grass/trunk/lib/raster/init.c
===================================================================
--- grass/trunk/lib/raster/init.c	2009-06-21 12:59:15 UTC (rev 38009)
+++ grass/trunk/lib/raster/init.c	2009-06-21 13:59:29 UTC (rev 38010)
@@ -41,7 +41,7 @@
  * \return exit() is called on error
  */
 
-void Rast__gisinit()
+void Rast__init(void)
 {
     if (initialized)
 	return;
@@ -56,7 +56,7 @@
  * \return
  */
 
-void Rast__check_gisinit(void)
+void Rast__check_init(void)
 {
     if (initialized)
 	return;



More information about the grass-commit mailing list