From f54e44ac8fc08ecbb4ff5c26adf586bbb21878fe Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Marek=20Marczykowski-G=C3=B3recki?= Date: Fri, 7 Feb 2014 02:10:13 +0100 Subject: [PATCH] Fix compile warning --- misc/xenstore-watch.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/misc/xenstore-watch.c b/misc/xenstore-watch.c index 497ed29..61767ec 100644 --- a/misc/xenstore-watch.c +++ b/misc/xenstore-watch.c @@ -2,7 +2,7 @@ #include #include #include -main(int argc, char **argv) +int main(int argc, char **argv) { struct xs_handle *xs; unsigned int count; @@ -25,4 +25,5 @@ main(int argc, char **argv) free(vec); vec = xs_read_watch(xs, &count); free(vec); + return 0; }