[GRASS-SVN] r32914 - grass-addons/general/g.xlist
svn_grass at osgeo.org
svn_grass at osgeo.org
Wed Aug 20 06:22:23 EDT 2008
Author: neteler
Date: 2008-08-20 06:22:23 -0400 (Wed, 20 Aug 2008)
New Revision: 32914
Modified:
grass-addons/general/g.xlist/main.c
Log:
fixed compilation warnings
Modified: grass-addons/general/g.xlist/main.c
===================================================================
--- grass-addons/general/g.xlist/main.c 2008-08-20 10:12:50 UTC (rev 32913)
+++ grass-addons/general/g.xlist/main.c 2008-08-20 10:22:23 UTC (rev 32914)
@@ -19,6 +19,7 @@
#define MAIN
#include <stdlib.h>
+#include <unistd.h>
#include <string.h>
#include <regex.h>
#include <grass/spawn.h>
@@ -48,7 +49,7 @@
struct Flag *full;
} flag;
int i, n, all, num_types, any, flags = 0;
- char **types, *pattern = NULL, separator[2], *buf;
+ char *pattern = NULL, separator[2], *buf;
regex_t regex;
G_gisinit(argv[0]);
More information about the grass-commit
mailing list