[GRASS-SVN] r58077 - grass/trunk/imagery/i.landsat.toar
svn_grass at osgeo.org
svn_grass at osgeo.org
Sun Oct 20 06:08:26 PDT 2013
Author: wenzeslaus
Date: 2013-10-20 06:08:26 -0700 (Sun, 20 Oct 2013)
New Revision: 58077
Modified:
grass/trunk/imagery/i.landsat.toar/landsat_met.c
Log:
i.landsat.toar: function should be static (private for file), not inline (not simple enough), fixes clang compilation (undefined reference to date_replace_slash)
Modified: grass/trunk/imagery/i.landsat.toar/landsat_met.c
===================================================================
--- grass/trunk/imagery/i.landsat.toar/landsat_met.c 2013-10-20 13:01:31 UTC (rev 58076)
+++ grass/trunk/imagery/i.landsat.toar/landsat_met.c 2013-10-20 13:08:26 UTC (rev 58077)
@@ -26,7 +26,7 @@
dest[i] = '\0';
}
-inline void date_replace_slash(char *str)
+static void date_replace_slash(char *str)
{
while (*str) {
if (*str == '/')
More information about the grass-commit
mailing list