Bug 656282: Remove redundant declaration that causes an MSVC warning, r=luke

--HG--
extra : rebase_source : 42c6e9594f36fd7320bdea90fdb01c955bf07f4d
This commit is contained in:
David Mandelin 2011-05-16 16:17:19 -07:00
Родитель 3df1dd05de
Коммит 0101f388cf
2 изменённых файлов: 3 добавлений и 7 удалений

Просмотреть файл

@ -51,13 +51,6 @@
JS_BEGIN_EXTERN_C 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) \ #define JS_CRASH_UNLESS(__cond) \
JS_BEGIN_MACRO \ JS_BEGIN_MACRO \
if (!(__cond)) { \ if (!(__cond)) { \

Просмотреть файл

@ -52,6 +52,9 @@
* *
* Once mfbt needs object files, this unholy union with JS_Assert() * Once mfbt needs object files, this unholy union with JS_Assert()
* will be broken. * 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 MOZ_BEGIN_EXTERN_C