Bug 607148 - Remove unnamed namespaces from SpiderMonkey code. rs=luke
This commit is contained in:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user