https://git.reactos.org/?p=reactos.git;a=commitdiff;h=0625e4d4f55340a879033…
commit 0625e4d4f55340a879033f555eece55f95ae6727
Author: Amine Khaldi <amine.khaldi(a)reactos.org>
AuthorDate: Sat Oct 28 14:43:14 2017 +0100
[SPOOLSV] Add some missing VOIDs. CORE-11799 (#94)
---
win32ss/printing/base/spoolsv/init.c | 2 +-
win32ss/printing/base/spoolsv/notifications.c | 8 ++++----
win32ss/printing/base/spoolsv/printers.c | 4 ++--
win32ss/printing/base/spoolsv/rpcstubs.c | 18 +++++++++---------
4 files changed, 16 insertions(+), 16 deletions(-)
diff --git a/win32ss/printing/base/spoolsv/init.c b/win32ss/printing/base/spoolsv/init.c
index ecd7349318..06c572040f 100644
--- a/win32ss/printing/base/spoolsv/init.c
+++ b/win32ss/printing/base/spoolsv/init.c
@@ -8,7 +8,7 @@
#include "precomp.h"
DWORD
-_RpcSpoolerInit()
+_RpcSpoolerInit(VOID)
{
DWORD dwErrorCode;
diff --git a/win32ss/printing/base/spoolsv/notifications.c
b/win32ss/printing/base/spoolsv/notifications.c
index a876e60271..266f6d2d41 100644
--- a/win32ss/printing/base/spoolsv/notifications.c
+++ b/win32ss/printing/base/spoolsv/notifications.c
@@ -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;
diff --git a/win32ss/printing/base/spoolsv/printers.c
b/win32ss/printing/base/spoolsv/printers.c
index 49236e51dc..881eec87d4 100644
--- a/win32ss/printing/base/spoolsv/printers.c
+++ b/win32ss/printing/base/spoolsv/printers.c
@@ -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;
diff --git a/win32ss/printing/base/spoolsv/rpcstubs.c
b/win32ss/printing/base/spoolsv/rpcstubs.c
index 56b3a1a3b4..41088b6c01 100644
--- a/win32ss/printing/base/spoolsv/rpcstubs.c
+++ b/win32ss/printing/base/spoolsv/rpcstubs.c
@@ -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;