[INCLUDE/REACTOS][LOCALMON][LOCALSPL][SPOOLSS] Add some missing VOIDs. CORE-11799 (#94)

This commit is contained in:
Amine Khaldi 2017-10-30 22:43:47 +01:00
parent 80774a2fca
commit d56c9a8927
7 changed files with 8 additions and 8 deletions

View file

@ -126,7 +126,7 @@ HRESULT WINAPI SHGetNavigateTarget(long param8, long paramC, long param10, long
HRESULT WINAPI GetInfoTip(IUnknown *param8, long paramC, LPTSTR *param10, long cchMax);
HRESULT WINAPI SHEnumClassesOfCategories(ULONG cImplemented, CATID *pImplemented, ULONG cRequired, CATID *pRequired, IEnumGUID **out);
HRESULT WINAPI SHWriteClassesOfCategories(long param8, long paramC, long param10, long param14, long param18, long param1C, long param20);
BOOL WINAPI SHIsExplorerBrowser();
BOOL WINAPI SHIsExplorerBrowser(void);
HRESULT WINAPI SHOpenNewFrame(LPITEMIDLIST pidl, IUnknown *paramC, long param10, DWORD dwFlags);
#ifdef __cplusplus

View file

@ -61,7 +61,7 @@ Cleanup:
* return to the SYSTEM context for specific tasks.
*/
HANDLE WINAPI
RevertToPrinterSelf()
RevertToPrinterSelf(VOID)
{
DWORD dwErrorCode;
HANDLE hReturnValue = NULL;

View file

@ -70,7 +70,7 @@ Cleanup:
}
static BOOL
_InitializePrintProviderList()
_InitializePrintProviderList(VOID)
{
DWORD cbFileName;
DWORD cchMaxSubKey;
@ -234,7 +234,7 @@ SplInitializeWinSpoolDrv(PVOID* pTable)
}
BOOL WINAPI
SplIsUpgrade()
SplIsUpgrade(VOID)
{
return FALSE;
}

View file

@ -98,7 +98,7 @@ BOOL WINAPI LocalmonWritePort(HANDLE hPort, PBYTE pBuffer, DWORD cbBuf, PDWORD p
// tools.c
BOOL DoesPortExist(PCWSTR pwszPortName);
DWORD GetLPTTransmissionRetryTimeout();
DWORD GetLPTTransmissionRetryTimeout(VOID);
DWORD GetPortNameWithoutColon(PCWSTR pwszPortName, PWSTR* ppwszPortNameWithoutColon);
// xcv.c

View file

@ -82,7 +82,7 @@ Cleanup:
}
DWORD
GetLPTTransmissionRetryTimeout()
GetLPTTransmissionRetryTimeout(VOID)
{
DWORD cbBuffer;
DWORD dwReturnValue = 90; // Use 90 seconds as default if we fail to read from registry.

View file

@ -246,7 +246,7 @@ extern SKIPLIST GlobalJobList;
DWORD WINAPI CreateJob(PLOCAL_PRINTER_HANDLE pPrinterHandle);
void FreeJob(PLOCAL_JOB pJob);
DWORD GetJobFilePath(PCWSTR pwszExtension, DWORD dwJobID, PWSTR pwszOutput);
BOOL InitializeGlobalJobList();
BOOL InitializeGlobalJobList(VOID);
void InitializePrinterJobList(PLOCAL_PRINTER pPrinter);
BOOL WINAPI LocalAddJob(HANDLE hPrinter, DWORD Level, LPBYTE pData, DWORD cbBuf, LPDWORD pcbNeeded);
BOOL WINAPI LocalEnumJobs(HANDLE hPrinter, DWORD FirstJob, DWORD NoJobs, DWORD Level, PBYTE pStart, DWORD cbBuf, LPDWORD pcbNeeded, LPDWORD pcReturned);

View file

@ -104,7 +104,7 @@ _PrinterListCompareRoutine(PVOID FirstStruct, PVOID SecondStruct)
* During this process, the job queues are also initialized.
*/
BOOL
InitializePrinterList()
InitializePrinterList(VOID)
{
DWORD cbData;
DWORD cchPrinterName;