https://git.reactos.org/?p=reactos.git;a=commitdiff;h=d56c9a8927e9f48831bf6…
commit d56c9a8927e9f48831bf6e3e1f6337259de9f6f6
Author: Amine Khaldi <amine.khaldi(a)reactos.org>
AuthorDate: Mon Oct 30 22:43:47 2017 +0100
[INCLUDE/REACTOS][LOCALMON][LOCALSPL][SPOOLSS] Add some missing VOIDs. CORE-11799
(#94)
---
sdk/include/reactos/browseui_undoc.h | 2 +-
win32ss/printing/base/spoolss/context.c | 2 +-
win32ss/printing/base/spoolss/main.c | 4 ++--
win32ss/printing/monitors/localmon/precomp.h | 2 +-
win32ss/printing/monitors/localmon/tools.c | 2 +-
win32ss/printing/providers/localspl/precomp.h | 2 +-
win32ss/printing/providers/localspl/printers.c | 2 +-
7 files changed, 8 insertions(+), 8 deletions(-)
diff --git a/sdk/include/reactos/browseui_undoc.h b/sdk/include/reactos/browseui_undoc.h
index 5478197e70..bd6d6fbc81 100644
--- a/sdk/include/reactos/browseui_undoc.h
+++ b/sdk/include/reactos/browseui_undoc.h
@@ -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
diff --git a/win32ss/printing/base/spoolss/context.c
b/win32ss/printing/base/spoolss/context.c
index cf1f185c7f..52cca45569 100644
--- a/win32ss/printing/base/spoolss/context.c
+++ b/win32ss/printing/base/spoolss/context.c
@@ -61,7 +61,7 @@ Cleanup:
* return to the SYSTEM context for specific tasks.
*/
HANDLE WINAPI
-RevertToPrinterSelf()
+RevertToPrinterSelf(VOID)
{
DWORD dwErrorCode;
HANDLE hReturnValue = NULL;
diff --git a/win32ss/printing/base/spoolss/main.c b/win32ss/printing/base/spoolss/main.c
index dcbb447e4c..c7b3f63561 100644
--- a/win32ss/printing/base/spoolss/main.c
+++ b/win32ss/printing/base/spoolss/main.c
@@ -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;
}
diff --git a/win32ss/printing/monitors/localmon/precomp.h
b/win32ss/printing/monitors/localmon/precomp.h
index ab1e620307..8b222e2ce8 100644
--- a/win32ss/printing/monitors/localmon/precomp.h
+++ b/win32ss/printing/monitors/localmon/precomp.h
@@ -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
diff --git a/win32ss/printing/monitors/localmon/tools.c
b/win32ss/printing/monitors/localmon/tools.c
index 4818539eee..0a5a797838 100644
--- a/win32ss/printing/monitors/localmon/tools.c
+++ b/win32ss/printing/monitors/localmon/tools.c
@@ -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.
diff --git a/win32ss/printing/providers/localspl/precomp.h
b/win32ss/printing/providers/localspl/precomp.h
index c4855ebda0..0c97f22c85 100644
--- a/win32ss/printing/providers/localspl/precomp.h
+++ b/win32ss/printing/providers/localspl/precomp.h
@@ -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);
diff --git a/win32ss/printing/providers/localspl/printers.c
b/win32ss/printing/providers/localspl/printers.c
index 35125495ce..022fd39a3e 100644
--- a/win32ss/printing/providers/localspl/printers.c
+++ b/win32ss/printing/providers/localspl/printers.c
@@ -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;