[Liblas-commits] r1169 - trunk/apps

liblas-commits at liblas.org liblas-commits at liblas.org
Sat Apr 4 19:51:23 EDT 2009


Author: mloskot
Date: Sat Apr  4 19:51:22 2009
New Revision: 1169
URL: http://liblas.org/changeset/1169

Log:
Replaced C++ comments with C comments in C source code.

Modified:
   trunk/apps/las2las.c
   trunk/apps/lascommon.c
   trunk/apps/lasinfo.c

Modified: trunk/apps/las2las.c
==============================================================================
--- trunk/apps/las2las.c	(original)
+++ trunk/apps/las2las.c	Sat Apr  4 19:51:22 2009
@@ -11,13 +11,14 @@
  * See LICENSE.txt in this source distribution for more information.
  **************************************************************************/
 
+#include "liblas.h"
+/* std */
 #include <assert.h>
 #include <time.h>
 #include <stdio.h>
 #include <stdlib.h>
 #include <string.h>
 
-#include "liblas.h"
 
 LASPointSummary* SummarizePoints(LASReaderH reader);
 void print_point_summary(FILE *file, LASPointSummary* summary, LASHeaderH header);
@@ -373,7 +374,7 @@
         }
 
         clsidx = LASPoint_GetClassification(p);
-        clsidx = (clsidx & 31); // 31 is max index in classification lookup table
+        clsidx = (clsidx & 31); /* 31 is max index in classification lookup table */
         assert(clsidx <= 31);
         if (elim_class && (elim_class == clsidx))
         {
@@ -741,7 +742,7 @@
         }
 
         clsidx = LASPoint_GetClassification(p);
-        clsidx = (clsidx & 31); // 31 is max index in classification lookup table
+        clsidx = (clsidx & 31); /* 31 is max index in classification lookup table */
         assert(clsidx <= 31);
         if (elim_class && (elim_class == clsidx))
         {

Modified: trunk/apps/lascommon.c
==============================================================================
--- trunk/apps/lascommon.c	(original)
+++ trunk/apps/lascommon.c	Sat Apr  4 19:51:22 2009
@@ -1,9 +1,9 @@
-// liblas
+/* liblas */
 #include <liblas.h>
 #ifdef HAVE_GEOTIFF
 #include <geotiff.h>
 #endif
-// std
+/* std */
 #include <stdio.h>
 #include <stdlib.h>
 #include <string.h>

Modified: trunk/apps/lasinfo.c
==============================================================================
--- trunk/apps/lasinfo.c	(original)
+++ trunk/apps/lasinfo.c	Sat Apr  4 19:51:22 2009
@@ -16,9 +16,9 @@
 #include <vld.h>
 #endif
 
-// liblas
+/* liblas */
 #include <liblas.h>
-// std
+/* std */
 #include <stdio.h>
 #include <stdlib.h>
 #include <string.h>


More information about the Liblas-commits mailing list