[GRASS-SVN] r47486 - in grass/trunk: include lib/symbol
svn_grass at osgeo.org
svn_grass at osgeo.org
Sun Aug 7 14:17:53 EDT 2011
Author: martinl
Date: 2011-08-07 11:17:52 -0700 (Sun, 07 Aug 2011)
New Revision: 47486
Modified:
grass/trunk/include/symbol.h
grass/trunk/lib/symbol/read.c
Log:
symbollib: S_read -> const char *
Modified: grass/trunk/include/symbol.h
===================================================================
--- grass/trunk/include/symbol.h 2011-08-07 18:16:56 UTC (rev 47485)
+++ grass/trunk/include/symbol.h 2011-08-07 18:17:52 UTC (rev 47486)
@@ -72,7 +72,7 @@
} SYMBOL;
/* prototypes */
-SYMBOL *S_read(char *sname);
+SYMBOL *S_read(const char *sname);
void S_stroke(SYMBOL * symb, double size, double rotation, int tolerance);
#endif
Modified: grass/trunk/lib/symbol/read.c
===================================================================
--- grass/trunk/lib/symbol/read.c 2011-08-07 18:16:56 UTC (rev 47485)
+++ grass/trunk/lib/symbol/read.c 2011-08-07 18:17:52 UTC (rev 47486)
@@ -232,7 +232,7 @@
* S_read() searches first in mapsets (standard GRASS search) and
* then in GISBASE/etc/symbol/
*/
-SYMBOL *S_read(char *sname)
+SYMBOL *S_read(const char *sname)
{
int i, j, k, l;
FILE *fp;
More information about the grass-commit
mailing list