From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from eggs.gnu.org ([140.186.70.92]:54971) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1R0xhz-0001Ox-NY for qemu-devel@nongnu.org; Tue, 06 Sep 2011 11:37:14 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1R0xhv-0003kb-OX for qemu-devel@nongnu.org; Tue, 06 Sep 2011 11:37:07 -0400 Received: from mx1.redhat.com ([209.132.183.28]:65120) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1R0xhv-0003kR-Ev for qemu-devel@nongnu.org; Tue, 06 Sep 2011 11:37:03 -0400 From: Kevin Wolf Date: Tue, 6 Sep 2011 17:39:25 +0200 Message-Id: <1315323586-23840-11-git-send-email-kwolf@redhat.com> In-Reply-To: <1315323586-23840-1-git-send-email-kwolf@redhat.com> References: <1315323586-23840-1-git-send-email-kwolf@redhat.com> Subject: [Qemu-devel] [PATCH 10/31] ide: Give vmstate structs internal linkage where possible List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: anthony@codemonkey.ws Cc: kwolf@redhat.com, qemu-devel@nongnu.org From: Markus Armbruster Signed-off-by: Markus Armbruster Signed-off-by: Kevin Wolf --- hw/ide/core.c | 6 +++--- 1 files changed, 3 insertions(+), 3 deletions(-) diff --git a/hw/ide/core.c b/hw/ide/core.c index ff59a45..1806e00 100644 --- a/hw/ide/core.c +++ b/hw/ide/core.c @@ -2010,7 +2010,7 @@ static bool ide_error_needed(void *opaque) } /* Fields for GET_EVENT_STATUS_NOTIFICATION ATAPI command */ -const VMStateDescription vmstate_ide_atapi_gesn_state = { +static const VMStateDescription vmstate_ide_atapi_gesn_state = { .name ="ide_drive/atapi/gesn_state", .version_id = 1, .minimum_version_id = 1, @@ -2022,7 +2022,7 @@ const VMStateDescription vmstate_ide_atapi_gesn_state = { } }; -const VMStateDescription vmstate_ide_drive_pio_state = { +static const VMStateDescription vmstate_ide_drive_pio_state = { .name = "ide_drive/pio_state", .version_id = 1, .minimum_version_id = 1, @@ -2084,7 +2084,7 @@ const VMStateDescription vmstate_ide_drive = { } }; -const VMStateDescription vmstate_ide_error_status = { +static const VMStateDescription vmstate_ide_error_status = { .name ="ide_bus/error", .version_id = 1, .minimum_version_id = 1, -- 1.7.6