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; }