Bug 924642 - SpiderMonkey: Apply internal name linkage using static keywords. r=njn
This commit is contained in:
@@ -44,8 +44,8 @@ using namespace js;
|
||||
* MALLOC gets declared external, and that doesn't work for class members, so
|
||||
* wrap.
|
||||
*/
|
||||
inline void* dtoa_malloc(size_t size) { return js_malloc(size); }
|
||||
inline void dtoa_free(void* p) { return js_free(p); }
|
||||
static inline void* dtoa_malloc(size_t size) { return js_malloc(size); }
|
||||
static inline void dtoa_free(void* p) { return js_free(p); }
|
||||
|
||||
#define NO_GLOBAL_STATE
|
||||
#define NO_ERRNO
|
||||
|
||||
Reference in New Issue
Block a user