浏览代码

fix declaration

git-svn-id: https://svn.osgeo.org/grass/grass/trunk@36181 15284696-431f-4ddb-bdfa-cd5b030d7da7
Markus Neteler 16 年之前
父节点
当前提交
4bd23b95a2
共有 1 个文件被更改,包括 5 次插入0 次删除
  1. 5 0
      raster/r.los/point.h

+ 5 - 0
raster/r.los/point.h

@@ -52,7 +52,12 @@ struct point *segment(int, int, int, double, double,
 	For delayed deletion of points (see delete3.c).
 	Initially set to NULL in main.c.
 */
+
+#ifdef MAIN
 struct point *DELAYED_DELETE;
+#else
+extern struct point *DELAYED_DELETE;
+#endif
 
 #endif