Przeglądaj źródła

i.landsat.toar: function should be static (private for file), not inline (not simple enough), fixes clang compilation (undefined reference to date_replace_slash)

git-svn-id: https://svn.osgeo.org/grass/grass/trunk@58077 15284696-431f-4ddb-bdfa-cd5b030d7da7
Vaclav Petras 11 lat temu
rodzic
commit
95e481eb1f
1 zmienionych plików z 1 dodań i 1 usunięć
  1. 1 1
      imagery/i.landsat.toar/landsat_met.c

+ 1 - 1
imagery/i.landsat.toar/landsat_met.c

@@ -26,7 +26,7 @@ static void chrncpy(char *dest, char src[], int n)
     dest[i] = '\0';
 }
 
-inline void date_replace_slash(char *str)
+static void date_replace_slash(char *str)
 {
     while (*str) {
 	if (*str == '/')