浏览代码

add prototypes of raster lib init fns

git-svn-id: https://svn.osgeo.org/grass/grass/trunk@38010 15284696-431f-4ddb-bdfa-cd5b030d7da7
Martin Landa 16 年之前
父节点
当前提交
629c98a644
共有 2 个文件被更改,包括 7 次插入2 次删除
  1. 5 0
      include/Rast.h
  2. 2 2
      lib/raster/init.c

+ 5 - 0
include/Rast.h

@@ -363,6 +363,11 @@ int Rast_write_history(const char *, struct History *);
 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);

+ 2 - 2
lib/raster/init.c

@@ -41,7 +41,7 @@ static int init(void);
  * \return exit() is called on error
  */
 
-void Rast__gisinit()
+void Rast__init(void)
 {
     if (initialized)
 	return;
@@ -56,7 +56,7 @@ void Rast__gisinit()
  * \return
  */
 
-void Rast__check_gisinit(void)
+void Rast__check_init(void)
 {
     if (initialized)
 	return;