Bug 607148 - Remove unnamed namespaces from SpiderMonkey code. rs=luke

This commit is contained in:
Jeff Walden
2010-10-25 16:47:11 -07:00
parent fab350f410
commit 78f59bd5e3
6 changed files with 16 additions and 67 deletions

View File

@@ -2019,10 +2019,8 @@ date_toISOString(JSContext *cx, uintN argc, Value *vp)
return date_utc_format(cx, vp, print_iso_string);
}
namespace {
/* ES5 15.9.5.44. */
JSBool
static JSBool
date_toJSON(JSContext *cx, uintN argc, Value *vp)
{
/* Step 1. */
@@ -2068,8 +2066,6 @@ date_toJSON(JSContext *cx, uintN argc, Value *vp)
return true;
}
}
/* for Date.toLocaleString; interface to PRMJTime date struct.
*/
static void