Ethereal-dev: [Ethereal-dev] C++ comments in C source files

Note: This archive is from the project's previous web site, ethereal.com. This list is no longer active.

From: Albert Chin <ethereal-dev@xxxxxxxxxxxxxxxxxx>
Date: Wed, 10 Sep 2003 11:14:38 -0500
C++ comments invalid in C89 source files. Some vendor compilers barf
on this.

Against 0.9.15.

-- 
albert chin (china@xxxxxxxxxxxxxxxxxx)

-- snip snip
--- packet-teredo.c.orig	Wed Sep 10 11:02:43 2003
+++ packet-teredo.c	Wed Sep 10 11:02:52 2003
@@ -73,7 +73,7 @@
 static gboolean teredo_summary_in_tree = TRUE;
 
 static dissector_table_t teredo_dissector_table;
-//static heur_dissector_list_t heur_subdissector_list;
+/*static heur_dissector_list_t heur_subdissector_list;*/
 static dissector_handle_t data_handle;
 
 /* Determine if there is a sub-dissector and call it.  This has been */
@@ -249,7 +249,7 @@
 
 /* subdissector code */
 	teredo_dissector_table = register_dissector_table("teredo","TEREDO ", FT_UINT16, BASE_DEC);
-//	register_heur_dissector_list("teredo.heur", &heur_subdissector_list); 
+/*	register_heur_dissector_list("teredo.heur", &heur_subdissector_list); */
 
 }