From 7d926d8c3b3879fe1a816f4d96a6d87864a130f1 Mon Sep 17 00:00:00 2001 From: "crowder%fiverocks.com" Date: Wed, 13 Feb 2008 22:33:57 +0000 Subject: [PATCH] Bug 417100 - Fixing windows build errors --- js/src/jsregexp.c | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/js/src/jsregexp.c b/js/src/jsregexp.c index 23c8bc36c9f..a3f111f40d7 100644 --- a/js/src/jsregexp.c +++ b/js/src/jsregexp.c @@ -83,12 +83,12 @@ const char *reop_names[] = { #endif #ifdef __GNUC__ -inline static int +static int re_debug(const char *fmt, ...) __attribute__ ((format(printf, 1, 2))); #endif #ifdef REGEXP_DEBUG -inline static int +static int re_debug(const char *fmt, ...) { va_list ap; @@ -100,7 +100,7 @@ re_debug(const char *fmt, ...) return retval; } -inline static void +static void re_debug_chars(const jschar *chrs, size_t length) { int i = 0; @@ -113,13 +113,13 @@ re_debug_chars(const jschar *chrs, size_t length) } #else /* !REGEXP_DEBUG */ /* This should be optimized to a no-op by our tier-1 compilers. */ -inline static int +static int re_debug(const char *fmt, ...) { return 0; } -inline static void +static void re_debug_chars(const jschar *chrs, size_t length) { }