[GRASS-SVN] r55243 - grass-addons/grass7/raster/r.geomorphon
svn_grass at osgeo.org
svn_grass at osgeo.org
Wed Feb 27 06:58:14 PST 2013
Author: martinl
Date: 2013-02-27 06:58:14 -0800 (Wed, 27 Feb 2013)
New Revision: 55243
Modified:
grass-addons/grass7/raster/r.geomorphon/local_proto.h
Log:
r.geomorphon: fix compilation issues
Modified: grass-addons/grass7/raster/r.geomorphon/local_proto.h
===================================================================
--- grass-addons/grass7/raster/r.geomorphon/local_proto.h 2013-02-27 08:51:11 UTC (rev 55242)
+++ grass-addons/grass7/raster/r.geomorphon/local_proto.h 2013-02-27 14:58:14 UTC (rev 55243)
@@ -1,3 +1,6 @@
+#ifndef __LOCAL_PROTO_H__
+#define __LOCAL_PROTO_H__
+
#include <stdlib.h>
#include <string.h>
#include <math.h>
@@ -137,7 +140,7 @@
GLOBAL int cell_step;
/* main */
-unsigned int global_ternary_codes[6562];
+GLOBAL unsigned int global_ternary_codes[6562];
/* memory */
int open_map(MAPS * rast);
@@ -171,3 +174,5 @@
double zenith_height, double zenith_distance,
double zenith_angle, double nadir_height,
double nadir_distance, double nadir_angle);
+
+#endif
More information about the grass-commit
mailing list