mirror of
https://github.com/xen-project/xen.git
synced 2026-10-29 18:50:05 +01:00
Fix violation of C90 mixed-code-and-declarations restriction.
Signed-off-by: Ewan Mellor <ewan@xensource.com>
This commit is contained in:
1 parent
03d3577c36
commit
343da423ce
1 file changed
+3
-1
@@ -7,6 +7,8 @@
|
||||
|
||||
int main(int argc, char **argv)
|
||||
{
|
||||
struct xs_handle * xsh;
|
||||
|
||||
if (argc < 2 ||
|
||||
strcmp(argv[1], "check"))
|
||||
{
|
||||
@@ -18,7 +20,7 @@ int main(int argc, char **argv)
|
||||
return 2;
|
||||
}
|
||||
|
||||
struct xs_handle * xsh = xs_daemon_open();
|
||||
xsh = xs_daemon_open();
|
||||
|
||||
xs_debug_command(xsh, argv[1], NULL, 0);
|
||||
|
||||
|
||||