[SPOOLSV] Add some missing VOIDs. CORE-11799 (#94)
authorAmine Khaldi <amine.khaldi@reactos.org>
Sat, 28 Oct 2017 13:43:14 +0000 (14:43 +0100)
committerAmine Khaldi <amine.khaldi@reactos.org>
Sat, 28 Oct 2017 13:43:14 +0000 (14:43 +0100)
win32ss/printing/base/spoolsv/init.c
win32ss/printing/base/spoolsv/notifications.c
win32ss/printing/base/spoolsv/printers.c
win32ss/printing/base/spoolsv/rpcstubs.c

index ecd7349..06c5720 100644 (file)
@@ -8,7 +8,7 @@
 #include "precomp.h"
 
 DWORD
-_RpcSpoolerInit()
+_RpcSpoolerInit(VOID)
 {
     DWORD dwErrorCode;
 
index a876e60..266f6d2 100644 (file)
@@ -8,21 +8,21 @@
 #include "precomp.h"
 
 DWORD
-_RpcClientFindFirstPrinterChangeNotification()
+_RpcClientFindFirstPrinterChangeNotification(VOID)
 {
     UNIMPLEMENTED;
     return ERROR_INVALID_FUNCTION;
 }
 
 DWORD
-_RpcFindClosePrinterChangeNotification()
+_RpcFindClosePrinterChangeNotification(VOID)
 {
     UNIMPLEMENTED;
     return ERROR_INVALID_FUNCTION;
 }
 
 DWORD
-_RpcFindNextPrinterChangeNotification()
+_RpcFindNextPrinterChangeNotification(VOID)
 {
     UNIMPLEMENTED;
     return ERROR_INVALID_FUNCTION;
@@ -57,7 +57,7 @@ _RpcReplyOpenPrinter(WINSPOOL_HANDLE pMachine, WINSPOOL_PRINTER_HANDLE* phPrinte
 }
 
 DWORD
-_RpcRouterFindFirstPrinterChangeNotificationOld()
+_RpcRouterFindFirstPrinterChangeNotificationOld(VOID)
 {
     UNIMPLEMENTED;
     return ERROR_INVALID_FUNCTION;
index 49236e5..881eec8 100644 (file)
@@ -332,14 +332,14 @@ _RpcResetPrinter(WINSPOOL_PRINTER_HANDLE hPrinter, WCHAR* pDatatype, WINSPOOL_DE
 }
 
 DWORD
-_RpcResetPrinterEx()
+_RpcResetPrinterEx(VOID)
 {
     UNIMPLEMENTED;
     return ERROR_INVALID_FUNCTION;
 }
 
 DWORD
-_RpcSeekPrinter()
+_RpcSeekPrinter(VOID)
 {
     UNIMPLEMENTED;
     return ERROR_INVALID_FUNCTION;
index 56b3a1a..41088b6 100644 (file)
@@ -50,28 +50,28 @@ _RpcPrinterMessageBox(WINSPOOL_PRINTER_HANDLE hPrinter, DWORD Error, ULONG_PTR h
 }
 
 DWORD
-_RpcSetAllocFailCount()
+_RpcSetAllocFailCount(VOID)
 {
     UNIMPLEMENTED;
     return ERROR_INVALID_FUNCTION;
 }
 
 DWORD
-_RpcClusterSplOpen()
+_RpcClusterSplOpen(VOID)
 {
     UNIMPLEMENTED;
     return ERROR_INVALID_FUNCTION;
 }
 
 DWORD
-_RpcClusterSplClose()
+_RpcClusterSplClose(VOID)
 {
     UNIMPLEMENTED;
     return ERROR_INVALID_FUNCTION;
 }
 
 DWORD
-_RpcClusterSplIsAlive()
+_RpcClusterSplIsAlive(VOID)
 {
     UNIMPLEMENTED;
     return ERROR_INVALID_FUNCTION;
@@ -99,28 +99,28 @@ _RpcEnumPerMachineConnections(WINSPOOL_HANDLE pServer, BYTE* pPrinterEnum, DWORD
 }
 
 DWORD
-_RpcSplOpenPrinter()
+_RpcSplOpenPrinter(VOID)
 {
     UNIMPLEMENTED;
     return ERROR_INVALID_FUNCTION;
 }
 
 DWORD
-_RpcGetSpoolFileInfo()
+_RpcGetSpoolFileInfo(VOID)
 {
     UNIMPLEMENTED;
     return ERROR_INVALID_FUNCTION;
 }
 
 DWORD
-_RpcCommitSpoolData()
+_RpcCommitSpoolData(VOID)
 {
     UNIMPLEMENTED;
     return ERROR_INVALID_FUNCTION;
 }
 
 DWORD
-_RpcCloseSpoolFileHandle()
+_RpcCloseSpoolFileHandle(VOID)
 {
     UNIMPLEMENTED;
     return ERROR_INVALID_FUNCTION;
@@ -134,7 +134,7 @@ _RpcSendRecvBidiData(WINSPOOL_PRINTER_HANDLE hPrinter, const WCHAR* pAction, WIN
 }
 
 DWORD
-_RpcAddDriverCatalog()
+_RpcAddDriverCatalog(VOID)
 {
     UNIMPLEMENTED;
     return ERROR_INVALID_FUNCTION;