Bug 654346: Fix C++-style comments in mfbt headers included by .c files, to fix build warnings. r=cjones comment-only=DONTBUILD
authorDaniel Holbert <dholbert@cs.stanford.edu>
Tue, 03 May 2011 10:24:01 -0700
changeset 69033 66cff9a9d5d2817bbc53c51acdb19621f5afd909
parent 69032 5d1e8ed138dba36942a6f23c8473aa2fdaf1833a
child 69034 1c85998fb15ff1b32103252638c32af8480b824e
push id99
push usereakhgari@mozilla.com
push dateTue, 24 May 2011 18:03:59 +0000
treeherdermozilla-aurora@26d6981b3d6a [default view] [failures only]
perfherder[talos] [build metrics] [platform microbench] (compared to previous push)
reviewerscjones
bugs654346
milestone6.0a1
Bug 654346: Fix C++-style comments in mfbt headers included by .c files, to fix build warnings. r=cjones comment-only=DONTBUILD
mfbt/Types.h
mfbt/Util.h
--- a/mfbt/Types.h
+++ b/mfbt/Types.h
@@ -83,9 +83,9 @@
 #else
 # define MFBT_API(type_)       MOZ_IMPORT_API(type_)
 #endif
 
 
 #define MOZ_BEGIN_EXTERN_C     JS_BEGIN_EXTERN_C
 #define MOZ_END_EXTERN_C       JS_END_EXTERN_C
 
-#endif  // mozilla_Types_h_
+#endif  /* mozilla_Types_h_ */
--- a/mfbt/Util.h
+++ b/mfbt/Util.h
@@ -69,17 +69,17 @@ MOZ_END_EXTERN_C
 
 # define MOZ_ASSERT(expr_)                                      \
     ((expr_) ? (void)0 : JS_Assert(#expr_, __FILE__, __LINE__))
 
 #else
 
 # define MOZ_ASSERT(expr_) ((void)0)
 
-#endif  // DEBUG
+#endif  /* DEBUG */
 
 #ifdef __cplusplus
 
 namespace mozilla {
 
 /**
  * DebugOnly contains a value of type T, but only in debug builds.  In
  * release builds, it does not contain a value.  This helper is