Because XRE_API hides function pointer declarations when XPCOM_GLUE is defined, don't use default values for function parameters

This commit is contained in:
Benjamin Smedberg 2009-07-16 12:23:33 -04:00
parent ac4d23a8d0
commit b2d281906b
2 changed files with 2 additions and 2 deletions

View File

@ -51,7 +51,7 @@ void xxxNeverCalledXUL()
XRE_FreeAppData(nsnull);
XRE_ChildProcessTypeToString(GeckoChildProcess_Default);
XRE_StringToChildProcessType("");
XRE_InitChildProcess(0, nsnull);
XRE_InitChildProcess(0, nsnull, GeckoChildProcess_Default);
XRE_InitParentProcess(0, nsnull, nsnull, nsnull);
XRE_RunTestShell(0, nsnull);
}

View File

@ -448,7 +448,7 @@ XRE_API(GeckoChildProcessType,
XRE_API(nsresult,
XRE_InitChildProcess, (int aArgc,
char* aArgv[],
GeckoChildProcessType aProcess=GeckoChildProcess_Default))
GeckoChildProcessType aProcess))
typedef void (*MainFunction)(void* aData);