mirror of
https://github.com/mozilla/gecko-dev.git
synced 2024-10-23 02:05:42 +00:00
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:
parent
ac4d23a8d0
commit
b2d281906b
@ -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);
|
||||
}
|
||||
|
@ -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);
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user