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 git-svn-id: svn://10.0.0.236/trunk@153666 18797224-902f-48f8-a5cc-f745e15eee43
This commit is contained in:
@@ -235,7 +235,12 @@ done:
|
||||
return data;
|
||||
}
|
||||
|
||||
static void ThreadDestruct( void *data )
|
||||
extern "C" {
|
||||
static void ThreadDestruct (void *data);
|
||||
static PRStatus TimelineInit(void);
|
||||
};
|
||||
|
||||
void ThreadDestruct( void *data )
|
||||
{
|
||||
if (data)
|
||||
delete (TimelineThreadData *)data;
|
||||
@@ -246,7 +251,7 @@ static void ThreadDestruct( void *data )
|
||||
*/
|
||||
static PRCallOnceType initonce;
|
||||
|
||||
static PRStatus TimelineInit(void)
|
||||
PRStatus TimelineInit(void)
|
||||
{
|
||||
char *timeStr;
|
||||
char *fileName;
|
||||
|
||||
Reference in New Issue
Block a user