Bug 235271 nsTimelineService - Warning (Anachronism): Formal argument ... of type extern "C" in call to ...(..., extern "C"...) is being passed something else

r=dbaron sr=dbaron
This commit is contained in:
timeless%mozdev.org 2004-03-08 07:27:06 +00:00
parent 11d094c977
commit b99905cda6

View File

@ -235,7 +235,12 @@ done:
return data; return data;
} }
static void ThreadDestruct( void *data ) extern "C" {
static void ThreadDestruct (void *data);
static PRStatus TimelineInit(void);
};
void ThreadDestruct( void *data )
{ {
if (data) if (data)
delete (TimelineThreadData *)data; delete (TimelineThreadData *)data;
@ -246,7 +251,7 @@ static void ThreadDestruct( void *data )
*/ */
static PRCallOnceType initonce; static PRCallOnceType initonce;
static PRStatus TimelineInit(void) PRStatus TimelineInit(void)
{ {
char *timeStr; char *timeStr;
char *fileName; char *fileName;