[5419] Variable autostart is not used outside main()
Revision: 5419
http://svn.sv.gnu.org/viewvc/?view=rev&root=qemu&revision=5419 Author: blueswir1 Date: 2008-10-05 09:56:21 +0000 (Sun, 05 Oct 2008)
Log Message:
-----------
Variable autostart is not used outside main()
Modified Paths:
--------------
trunk/sysemu.h
trunk/vl.c
Modified: trunk/sysemu.h
===================================================================
sysemu.h +0 -1
@@ -88,7 +88,6 @@extern int graphic_rotate;extern int no_quit;extern int semihosting_enabled; -extern int autostart;extern int old_param;extern const char *bootp_filename;
Modified: trunk/vl.c
===================================================================
vl.c +3 -2
@@ -230,7 +230,6 @@const char *option_rom[MAX_OPTION_ROMS ];int nb_option_roms;int semihosting_enabled =0 ; -int autostart =1 ;#ifdef TARGET_ARM int old_param =0 ;#endif
@@ -8502,6 +8501,7 @@int tb_size;const char *pid_file =NULL ;VLANState *vlan; +int autostart;LIST_INIT (&vm_change_state_head);#ifndef _WIN32
@@ -8573,7 +8573,8 @@ nb_nics =0 ; tb_size =0 ; - + autostart=1 ; + optind =1 ;for (;;) {if (optind >= argc)