Staging: hv: fix sparse function warnings
authorGreg Kroah-Hartman <gregkh@suse.de>
Wed, 29 Jul 2009 16:05:33 +0000 (09:05 -0700)
committerGreg Kroah-Hartman <gregkh@suse.de>
Tue, 15 Sep 2009 19:01:53 +0000 (12:01 -0700)
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>
drivers/staging/hv/Connection.c
drivers/staging/hv/Hv.c

index d017c2725d5236fdc36322d6de4a4dd8f5b687f3..a2888cb467096e74243922a00c9573fa81a67a89 100644 (file)
@@ -45,8 +45,7 @@ Description:
 
 --*/
 static int
-VmbusConnect(
-       )
+VmbusConnect(void)
 {
        int ret=0;
        VMBUS_CHANNEL_MSGINFO *msgInfo=NULL;
index c19c527f70580c5cf2c57488164e3f35ddbceaba..ef328d0d38216fd0a793722e2ef278d5a9fdea66 100644 (file)
@@ -445,8 +445,7 @@ Description:
 
 --*/
 static HV_STATUS
-HvSignalEvent(
-       )
+HvSignalEvent(void)
 {
        HV_STATUS status;