diff mbox

vl: make boot_strict variable static (not used outside vl.c)

Message ID 1386577170-6851-1-git-send-email-mjt@msgid.tls.msk.ru
State New
Headers show

Commit Message

Michael Tokarev Dec. 9, 2013, 8:19 a.m. UTC
---
 vl.c |    2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

Comments

Amos Kong Dec. 9, 2013, 11:59 a.m. UTC | #1
On Mon, Dec 09, 2013 at 12:19:30PM +0400, Michael Tokarev wrote:
> ---
>  vl.c |    2 +-
>  1 file changed, 1 insertion(+), 1 deletion(-)
> 
> diff --git a/vl.c b/vl.c
> index ae6d0c6..e47fea1 100644
> --- a/vl.c
> +++ b/vl.c
> @@ -230,7 +230,7 @@ int ctrl_grab = 0;
>  unsigned int nb_prom_envs = 0;
>  const char *prom_envs[MAX_PROM_ENVS];
>  int boot_menu;
> -bool boot_strict;
> +static bool boot_strict;

Reviewed-by: Amos Kong <akong@redhat.com>

>  uint8_t *boot_splash_filedata;
>  size_t boot_splash_filedata_size;
>  uint8_t qemu_extra_params_fw[2];
> -- 
> 1.7.10.4
>
diff mbox

Patch

diff --git a/vl.c b/vl.c
index ae6d0c6..e47fea1 100644
--- a/vl.c
+++ b/vl.c
@@ -230,7 +230,7 @@  int ctrl_grab = 0;
 unsigned int nb_prom_envs = 0;
 const char *prom_envs[MAX_PROM_ENVS];
 int boot_menu;
-bool boot_strict;
+static bool boot_strict;
 uint8_t *boot_splash_filedata;
 size_t boot_splash_filedata_size;
 uint8_t qemu_extra_params_fw[2];