[GRASS-SVN] r32715 - in grass/trunk: include raster/r.what.color
svn_grass at osgeo.org
svn_grass at osgeo.org
Tue Aug 12 06:03:59 EDT 2008
Author: glynn
Date: 2008-08-12 06:03:59 -0400 (Tue, 12 Aug 2008)
New Revision: 32715
Modified:
grass/trunk/include/gisdefs.h
grass/trunk/raster/r.what.color/main.c
Log:
Remove redundant G_raster_map_type2()
Modified: grass/trunk/include/gisdefs.h
===================================================================
--- grass/trunk/include/gisdefs.h 2008-08-12 09:53:33 UTC (rev 32714)
+++ grass/trunk/include/gisdefs.h 2008-08-12 10:03:59 UTC (rev 32715)
@@ -857,7 +857,6 @@
int G_set_fp_type(RASTER_MAP_TYPE);
int G_raster_map_is_fp(const char *, const char *);
RASTER_MAP_TYPE G_raster_map_type(const char *, const char *);
-RASTER_MAP_TYPE G_raster_map_type2(const char *, const char *);
RASTER_MAP_TYPE G__check_fp_type(const char *, const char *);
RASTER_MAP_TYPE G_get_raster_map_type(int);
int G_open_raster_new(const char *, RASTER_MAP_TYPE);
Modified: grass/trunk/raster/r.what.color/main.c
===================================================================
--- grass/trunk/raster/r.what.color/main.c 2008-08-12 09:53:33 UTC (rev 32714)
+++ grass/trunk/raster/r.what.color/main.c 2008-08-12 10:03:59 UTC (rev 32715)
@@ -126,7 +126,7 @@
if (!mapset)
G_fatal_error("Raster map <%s> not found", name);
- type = G_raster_map_type2(name, mapset);
+ type = G_raster_map_type(name, mapset);
if (type < 0)
G_fatal_error("Unable to determine type of input map %s", name);
More information about the grass-commit
mailing list