[GRASS-SVN] r53215 - grass/trunk/lib/init
svn_grass at osgeo.org
svn_grass at osgeo.org
Tue Sep 18 13:32:10 PDT 2012
Author: glynn
Date: 2012-09-18 13:32:10 -0700 (Tue, 18 Sep 2012)
New Revision: 53215
Modified:
grass/trunk/lib/init/clean_temp.c
grass/trunk/lib/init/lock.c
Log:
Don't attempt to declare errno
Modified: grass/trunk/lib/init/clean_temp.c
===================================================================
--- grass/trunk/lib/init/clean_temp.c 2012-09-18 19:05:40 UTC (rev 53214)
+++ grass/trunk/lib/init/clean_temp.c 2012-09-18 20:32:10 UTC (rev 53215)
@@ -32,8 +32,6 @@
#define BUF_MAX 4096
#endif
-extern int errno;
-
#define SLEEP 30 /* 30 seconds */
/* Recursively scan the directory pathname, removing directory and files */
Modified: grass/trunk/lib/init/lock.c
===================================================================
--- grass/trunk/lib/init/lock.c 2012-09-18 19:05:40 UTC (rev 53214)
+++ grass/trunk/lib/init/lock.c 2012-09-18 20:32:10 UTC (rev 53215)
@@ -26,7 +26,6 @@
******************************************************************/
#include <errno.h>
-extern int errno;
int main(int argc, char *argv[])
{
More information about the grass-commit
mailing list