[INCLUDE/REACTOS][LOCALMON][LOCALSPL][SPOOLSS] Add some missing VOIDs. CORE-11799...
authorAmine Khaldi <amine.khaldi@reactos.org>
Mon, 30 Oct 2017 21:43:47 +0000 (22:43 +0100)
committerAmine Khaldi <amine.khaldi@reactos.org>
Mon, 30 Oct 2017 21:43:47 +0000 (22:43 +0100)
sdk/include/reactos/browseui_undoc.h
win32ss/printing/base/spoolss/context.c
win32ss/printing/base/spoolss/main.c
win32ss/printing/monitors/localmon/precomp.h
win32ss/printing/monitors/localmon/tools.c
win32ss/printing/providers/localspl/precomp.h
win32ss/printing/providers/localspl/printers.c

index 5478197..bd6d6fb 100644 (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
index cf1f185..52cca45 100644 (file)
@@ -61,7 +61,7 @@ Cleanup:
  * return to the SYSTEM context for specific tasks.
  */
 HANDLE WINAPI
-RevertToPrinterSelf()
+RevertToPrinterSelf(VOID)
 {
     DWORD dwErrorCode;
     HANDLE hReturnValue = NULL;
index dcbb447..c7b3f63 100644 (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;
 }
index ab1e620..8b222e2 100644 (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
index 4818539..0a5a797 100644 (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.
index c4855eb..0c97f22 100644 (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);
index 3512549..022fd39 100644 (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;