aboutsummaryrefslogtreecommitdiffstats
path: root/tools/misc/xc_shadow.c
diff options
context:
space:
mode:
Diffstat (limited to 'tools/misc/xc_shadow.c')
-rw-r--r--tools/misc/xc_shadow.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/tools/misc/xc_shadow.c b/tools/misc/xc_shadow.c
index 20363637bf..83c52ebc19 100644
--- a/tools/misc/xc_shadow.c
+++ b/tools/misc/xc_shadow.c
@@ -18,7 +18,7 @@
#include <errno.h>
#include <string.h>
-void usage()
+void usage(void)
{
printf("xc_shadow: -[0|1|2]\n");
printf(" set shadow mode\n");
@@ -28,7 +28,7 @@ void usage()
int main(int argc, char *argv[])
{
int xc_handle;
- int mode;
+ int mode = 0;
if ( argc > 1 )
{