mirror of
https://gitlab.winehq.org/wine/wine-gecko.git
synced 2024-09-13 09:24:08 -07:00
Bug 401298 - "Including jsapi.h generates many warnings with certain compiler configurations (e.g. gcc 3.4 -Wstrict-prototypes)" [p=wes@page.ca (Wesley W. Garland) r=mrbkap a1.9=brendan]
This commit is contained in:
parent
6696b6b9d4
commit
e356453930
@ -217,7 +217,7 @@ JS_BEGIN_EXTERN_C
|
||||
* comment in jstypes.h regarding safe int64 usage.
|
||||
*/
|
||||
extern JS_PUBLIC_API(int64)
|
||||
JS_Now();
|
||||
JS_Now(void);
|
||||
|
||||
/* Don't want to export data, so provide accessors for non-inline jsvals. */
|
||||
extern JS_PUBLIC_API(jsval)
|
||||
@ -1215,10 +1215,10 @@ struct JSExtendedClass {
|
||||
JSObjectOp outerObject;
|
||||
JSObjectOp innerObject;
|
||||
JSIteratorOp iteratorObject;
|
||||
void (*reserved0)();
|
||||
void (*reserved1)();
|
||||
void (*reserved2)();
|
||||
void (*reserved3)();
|
||||
void (*reserved0)(void);
|
||||
void (*reserved1)(void);
|
||||
void (*reserved2)(void);
|
||||
void (*reserved3)(void);
|
||||
};
|
||||
|
||||
#define JSCLASS_HAS_PRIVATE (1<<0) /* objects have private slot */
|
||||
@ -2235,7 +2235,7 @@ JS_MakeStringImmutable(JSContext *cx, JSString *str);
|
||||
* to get UTF-8 support.
|
||||
*/
|
||||
JS_PUBLIC_API(JSBool)
|
||||
JS_CStringsAreUTF8();
|
||||
JS_CStringsAreUTF8(void);
|
||||
|
||||
/*
|
||||
* Character encoding support.
|
||||
|
Loading…
Reference in New Issue
Block a user