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

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: Sat, 8 Nov 2003 20:05:32 -0600
C++ comments in C source file invalid.

-- 
albert chin (china@xxxxxxxxxxxxxxxxxx)

-- snip snip
--- packet-dcerpc-dcom.h.orig	Sat Nov  8 18:01:00 2003
+++ packet-dcerpc-dcom.h	Sat Nov  8 18:01:22 2003
@@ -63,19 +63,19 @@
  } ORPCTHAT;
 
 typedef struct tagSTRINGBINDING {
-    unsigned short wTowerId;     // Cannot be zero.
-    unsigned short aNetworkAddr; // Zero terminated.
+    unsigned short wTowerId;     /* Cannot be zero. */
+    unsigned short aNetworkAddr; /* Zero terminated. */
  } STRINGBINDING;
 
 typedef struct tagSECURITYBINDING {
-    unsigned short wAuthnSvc;  // Cannot be zero.
-    unsigned short wAuthzSvc;  // Must not be zero.
-    unsigned short aPrincName; // Zero terminated.
+    unsigned short wAuthnSvc;  /* Cannot be zero. */
+    unsigned short wAuthzSvc;  /* Must not be zero. */
+    unsigned short aPrincName; /* Zero terminated. */
  }  SECURITYBINDING;
 
 typedef struct tagDUALSTRINGARRAY {
-    unsigned short wNumEntries;     // Number of entries in array.
-    unsigned short wSecurityOffset; // Offset of security info.
+    unsigned short wNumEntries;     /* Number of entries in array. */
+    unsigned short wSecurityOffset; /* Offset of security info. */
 /*  [size_is(wNumEntries)] unsigned short aStringArray[]; */
     } DUALSTRINGARRAY;