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 a8e8a11486
commit 4da98dbfa3

View File

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