Skip to content
Snippets Groups Projects
Commit 0d74bbba authored by Rob Swindell's avatar Rob Swindell :speech_balloon:
Browse files

Fix GCC warning: ‘js_bbs_class’ initialized and declared ‘extern’

parent 52c61694
No related branches found
No related tags found
No related merge requests found
...@@ -5136,7 +5136,7 @@ static JSBool js_bbs_enumerate(JSContext *cx, JSObject *obj) ...@@ -5136,7 +5136,7 @@ static JSBool js_bbs_enumerate(JSContext *cx, JSObject *obj)
return js_bbs_resolve(cx, obj, JSID_VOID); return js_bbs_resolve(cx, obj, JSID_VOID);
} }
extern "C" JSClass js_bbs_class = { JSClass js_bbs_class = {
"BBS" /* name */ "BBS" /* name */
, JSCLASS_HAS_PRIVATE /* flags */ , JSCLASS_HAS_PRIVATE /* flags */
, JS_PropertyStub /* addProperty */ , JS_PropertyStub /* addProperty */
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment