Bug 924642 - SpiderMonkey: Apply internal name linkage using static keywords. r=njn

This commit is contained in:
Dan Gohman
2013-10-10 05:18:01 -07:00
parent f3457e80f6
commit f147ac843f
40 changed files with 97 additions and 97 deletions

View File

@@ -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