From 4534c378db397ad84f32512eff443a800b99f439 Mon Sep 17 00:00:00 2001 From: "crowder@fiverocks.com" Date: Wed, 13 Feb 2008 14:33:57 -0800 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 23c8bc36c9f2..a3f111f40d76 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) { }