aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorGreg Kroah-Hartman <gregkh@suse.de>2009-07-29 09:05:33 -0700
committerGreg Kroah-Hartman <gregkh@suse.de>2009-09-15 12:01:53 -0700
commit127729066686c363c405c586731235443c03c252 (patch)
tree52ce81a0dc7bb48e509596207b7423972eac2c43
parentbd1de709165a4f59878d4a272370fa228aa753f7 (diff)
Staging: hv: fix sparse function warnings
This fixes up all of the sparse warnings about functions not being properly declared. Meaning, void functions need to say they are a void function, otherwise the compiler assumes it is an integer here. Cc: Hank Janssen <hjanssen@microsoft.com> Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
-rw-r--r--drivers/staging/hv/Connection.c3
-rw-r--r--drivers/staging/hv/Hv.c3
2 files changed, 2 insertions, 4 deletions
diff --git a/drivers/staging/hv/Connection.c b/drivers/staging/hv/Connection.c
index d017c2725d5..a2888cb4670 100644
--- a/drivers/staging/hv/Connection.c
+++ b/drivers/staging/hv/Connection.c
@@ -45,8 +45,7 @@ Description:
--*/
static int
-VmbusConnect(
- )
+VmbusConnect(void)
{
int ret=0;
VMBUS_CHANNEL_MSGINFO *msgInfo=NULL;
diff --git a/drivers/staging/hv/Hv.c b/drivers/staging/hv/Hv.c
index c19c527f705..ef328d0d382 100644
--- a/drivers/staging/hv/Hv.c
+++ b/drivers/staging/hv/Hv.c
@@ -445,8 +445,7 @@ Description:
--*/
static HV_STATUS
-HvSignalEvent(
- )
+HvSignalEvent(void)
{
HV_STATUS status;