Patchwork [1/2] scsi: declare vmstate_info_scsi_requests to be static

login
register
mail settings
Submitter Paolo Bonzini
Date May 22, 2012, 12:25 p.m.
Message ID <1337689547-6338-2-git-send-email-pbonzini@redhat.com>
Download mbox | patch
Permalink /patch/160624/
State New
Headers show

Comments

Paolo Bonzini - May 22, 2012, 12:25 p.m.
From: Jim Meyering <meyering@redhat.com>

Signed-off-by: Jim Meyering <meyering@redhat.com>
---
 hw/scsi-bus.c |    2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

Patch

diff --git a/hw/scsi-bus.c b/hw/scsi-bus.c
index 8ab9bcd..f10f3ec 100644
--- a/hw/scsi-bus.c
+++ b/hw/scsi-bus.c
@@ -1561,7 +1561,7 @@  static int get_scsi_requests(QEMUFile *f, void *pv, size_t size)
     return 0;
 }
 
-const VMStateInfo vmstate_info_scsi_requests = {
+static const VMStateInfo vmstate_info_scsi_requests = {
     .name = "scsi-requests",
     .get  = get_scsi_requests,
     .put  = put_scsi_requests,