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 68904 66cff9a9d5d2817bbc53c51acdb19621f5afd909
parent 68903 5d1e8ed138dba36942a6f23c8473aa2fdaf1833a
child 68905 1c85998fb15ff1b32103252638c32af8480b824e
push id19795
push userdholbert@mozilla.com
push dateTue, 03 May 2011 17:24:38 +0000
treeherdermozilla-central@66cff9a9d5d2 [default view] [failures only]
perfherder[talos] [build metrics] [platform microbench] (compared to previous push)
reviewerscjones
bugs654346
milestone6.0a1
first release with
nightly linux32
nightly linux64
nightly mac
nightly win32
nightly win64
last release without
nightly linux32
nightly linux64
nightly mac
nightly win32
nightly win64
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