Преглед на файлове

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 *);
 void Rast_short_history(const char *, const char *, struct History *);
 int Rast_command_history(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 */
 /* interp.c */
 DCELL Rast_interp_linear(double, DCELL, DCELL);
 DCELL Rast_interp_linear(double, DCELL, DCELL);
 DCELL Rast_interp_bilinear(double, double, DCELL, DCELL, 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
  * \return exit() is called on error
  */
  */
 
 
-void Rast__gisinit()
+void Rast__init(void)
 {
 {
     if (initialized)
     if (initialized)
 	return;
 	return;
@@ -56,7 +56,7 @@ void Rast__gisinit()
  * \return
  * \return
  */
  */
 
 
-void Rast__check_gisinit(void)
+void Rast__check_init(void)
 {
 {
     if (initialized)
     if (initialized)
 	return;
 	return;