Browse Source

update modules to https://trac.osgeo.org/grass/changeset/63849

git-svn-id: https://svn.osgeo.org/grass/grass/trunk@63850 15284696-431f-4ddb-bdfa-cd5b030d7da7
Martin Landa 10 years ago
parent
commit
d5a1c8417d
1 changed files with 2 additions and 2 deletions
  1. 2 2
      general/g.tempfile/main.c

+ 2 - 2
general/g.tempfile/main.c

@@ -29,7 +29,7 @@ int main(int argc, char *argv[])
     struct GModule *module;
     struct Option *pid;
     struct Flag *dry_run;
-    char *tempfile, *G__tempfile();
+    char *tempfile;
     int p;
     
     G_gisinit(argv[0]);
@@ -58,7 +58,7 @@ int main(int argc, char *argv[])
 	G_usage();
 	exit(EXIT_FAILURE);
     }
-    tempfile = G__tempfile(p);
+    tempfile = G_tempfile_pid(p);
     
     /* create tempfile so next run of this program will create a unique name */
     if (!dry_run->answer)