mirror of
https://github.com/mozilla/gecko-dev.git
synced 2024-10-10 20:05:49 +00:00
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:
parent
11d094c977
commit
b99905cda6
@ -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;
|
||||||
|
Loading…
Reference in New Issue
Block a user