Bug 451187 JS causes a crash in nspr [@ Bfree ]

freedtoa should be marked as static as the data type returned by these implementations does not need to be freed with it
r=wtc
This commit is contained in:
timeless@mozdev.org 2010-01-13 21:21:52 +01:00
parent f904d8b6bd
commit 6f98e0c3df

View File

@ -2673,7 +2673,7 @@ nrv_alloc(char *s, char **rve, int n)
* when MULTIPLE_THREADS is not defined.
*/
void
static void
#ifdef KR_headers
freedtoa(s) char *s;
#else