From 0101f388cfe820d0cf75ab50cdc08327f1f8308f Mon Sep 17 00:00:00 2001 From: David Mandelin Date: Mon, 16 May 2011 16:17:19 -0700 Subject: [PATCH] Bug 656282: Remove redundant declaration that causes an MSVC warning, r=luke --HG-- extra : rebase_source : 42c6e9594f36fd7320bdea90fdb01c955bf07f4d --- js/src/jsutil.h | 7 ------- mfbt/Util.h | 3 +++ 2 files changed, 3 insertions(+), 7 deletions(-) diff --git a/js/src/jsutil.h b/js/src/jsutil.h index 1b249c1874a7..a9c65988f0fb 100644 --- a/js/src/jsutil.h +++ b/js/src/jsutil.h @@ -51,13 +51,6 @@ JS_BEGIN_EXTERN_C -/* - * JS_Assert is present even in release builds, for the benefit of applications - * that build DEBUG and link against a non-DEBUG SpiderMonkey library. - */ -extern JS_PUBLIC_API(void) -JS_Assert(const char *s, const char *file, JSIntn ln); - #define JS_CRASH_UNLESS(__cond) \ JS_BEGIN_MACRO \ if (!(__cond)) { \ diff --git a/mfbt/Util.h b/mfbt/Util.h index 0a5c744272e7..4d74c1c9f8ab 100644 --- a/mfbt/Util.h +++ b/mfbt/Util.h @@ -52,6 +52,9 @@ * * Once mfbt needs object files, this unholy union with JS_Assert() * will be broken. + * + * JS_Assert is present even in release builds, for the benefit of applications + * that build DEBUG and link against a non-DEBUG SpiderMonkey library. */ MOZ_BEGIN_EXTERN_C