[GRASS-SVN] r38425 - in grass/trunk: include lib/raster
raster/r.mapcalc
svn_grass at osgeo.org
svn_grass at osgeo.org
Wed Jul 15 09:15:48 EDT 2009
Author: martinl
Date: 2009-07-15 09:15:47 -0400 (Wed, 15 Jul 2009)
New Revision: 38425
Modified:
grass/trunk/include/rasterdefs.h
grass/trunk/lib/raster/init.c
grass/trunk/raster/r.mapcalc/main.c
Log:
Rename Rast__init() to Rast_init()
Call Rast_init() in r.mapcalc
Modified: grass/trunk/include/rasterdefs.h
===================================================================
--- grass/trunk/include/rasterdefs.h 2009-07-15 12:59:37 UTC (rev 38424)
+++ grass/trunk/include/rasterdefs.h 2009-07-15 13:15:47 UTC (rev 38425)
@@ -340,7 +340,7 @@
int Rast_command_history(struct History *);
/* init.c */
-void Rast__init(void);
+void Rast_init(void);
void Rast__check_init(void);
void Rast_init_all(void);
Modified: grass/trunk/lib/raster/init.c
===================================================================
--- grass/trunk/lib/raster/init.c 2009-07-15 12:59:37 UTC (rev 38424)
+++ grass/trunk/lib/raster/init.c 2009-07-15 13:15:47 UTC (rev 38425)
@@ -42,7 +42,7 @@
* \return exit() is called on error
*/
-void Rast__init(void)
+void Rast_init(void)
{
if (initialized)
return;
Modified: grass/trunk/raster/r.mapcalc/main.c
===================================================================
--- grass/trunk/raster/r.mapcalc/main.c 2009-07-15 12:59:37 UTC (rev 38424)
+++ grass/trunk/raster/r.mapcalc/main.c 2009-07-15 13:15:47 UTC (rev 38425)
@@ -106,6 +106,7 @@
int all_ok;
G_gisinit(argv[0]);
+ Rast_init();
module = G_define_module();
G_add_keyword(_("raster"));
More information about the grass-commit
mailing list