Commit c48ef5f7 authored by rswindell's avatar rswindell
Browse files

Resolve more GCC errors: static declaration of 'xxx_class follows' non-static

declaration
parent efb81b98
......@@ -773,7 +773,7 @@ static JSBool js_com_enumerate(JSContext *cx, JSObject *obj)
return(js_com_resolve(cx, obj, JSID_VOID));
}
static JSClass js_com_class = {
JSClass js_com_class = {
"COM" /* name */
,JSCLASS_HAS_PRIVATE /* flags */
,JS_PropertyStub /* addProperty */
......
......@@ -2092,7 +2092,7 @@ static JSBool js_console_enumerate(JSContext *cx, JSObject *obj)
return(js_console_resolve(cx, obj, JSID_VOID));
}
static JSClass js_console_class = {
JSClass js_console_class = {
"Console" /* name */
,JSCLASS_HAS_PRIVATE /* flags */
,JS_PropertyStub /* addProperty */
......
......@@ -2890,7 +2890,7 @@ static JSBool js_file_enumerate(JSContext *cx, JSObject *obj)
return(js_file_resolve(cx, obj, JSID_VOID));
}
static JSClass js_file_class = {
JSClass js_file_class = {
"File" /* name */
,JSCLASS_HAS_PRIVATE /* flags */
,JS_PropertyStub /* addProperty */
......
......@@ -4487,7 +4487,7 @@ static JSBool js_global_enumerate(JSContext *cx, JSObject *obj)
return(js_global_resolve(cx, obj, JSID_VOID));
}
static JSClass js_global_class = {
JSClass js_global_class = {
"Global" /* name */
,JSCLASS_HAS_PRIVATE|JSCLASS_GLOBAL_FLAGS /* flags */
,JS_PropertyStub /* addProperty */
......
......@@ -3214,7 +3214,7 @@ static JSBool js_msgbase_enumerate(JSContext *cx, JSObject *obj)
return(js_msgbase_resolve(cx, obj, JSID_VOID));
}
static JSClass js_msgbase_class = {
JSClass js_msgbase_class = {
"MsgBase" /* name */
,JSCLASS_HAS_PRIVATE /* flags */
,JS_PropertyStub /* addProperty */
......
......@@ -391,7 +391,7 @@ static JSBool js_queue_enumerate(JSContext *cx, JSObject *obj)
return(js_queue_resolve(cx, obj, JSID_VOID));
}
static JSClass js_queue_class = {
JSClass js_queue_class = {
"Queue" /* name */
,JSCLASS_HAS_PRIVATE /* flags */
,JS_PropertyStub /* addProperty */
......
......@@ -2181,7 +2181,7 @@ static JSBool js_socket_enumerate(JSContext *cx, JSObject *obj)
return(js_socket_resolve(cx, obj, JSID_VOID));
}
static JSClass js_socket_class = {
JSClass js_socket_class = {
"Socket" /* name */
,JSCLASS_HAS_PRIVATE /* flags */
,JS_PropertyStub /* addProperty */
......
......@@ -2390,7 +2390,7 @@ static JSBool js_system_enumerate(JSContext *cx, JSObject *obj)
return(js_system_resolve(cx, obj, JSID_VOID));
}
static JSClass js_system_class = {
JSClass js_system_class = {
"System" /* name */
,JSCLASS_HAS_PRIVATE /* flags */
,JS_PropertyStub /* addProperty */
......
......@@ -1470,7 +1470,7 @@ static JSBool js_user_enumerate(JSContext *cx, JSObject *obj)
return(js_user_resolve(cx, obj, JSID_VOID));
}
static JSClass js_user_class = {
JSClass js_user_class = {
"User" /* name */
,JSCLASS_HAS_PRIVATE /* flags */
,JS_PropertyStub /* addProperty */
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment