From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from eggs.gnu.org ([140.186.70.92]:52675) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1QobHh-0005Mx-9W for qemu-devel@nongnu.org; Wed, 03 Aug 2011 09:14:56 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1QobHe-0002Vj-OC for qemu-devel@nongnu.org; Wed, 03 Aug 2011 09:14:53 -0400 Received: from oxygen.pond.sub.org ([78.46.104.156]:36888) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1QobHe-0002VK-JJ for qemu-devel@nongnu.org; Wed, 03 Aug 2011 09:14:50 -0400 From: Markus Armbruster Date: Wed, 3 Aug 2011 15:08:04 +0200 Message-Id: <1312376904-16115-26-git-send-email-armbru@redhat.com> In-Reply-To: <1312376904-16115-1-git-send-email-armbru@redhat.com> References: <1312376904-16115-1-git-send-email-armbru@redhat.com> Subject: [Qemu-devel] [PATCH v2 25/45] ide: Give vmstate structs internal linkage where possible List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: qemu-devel@nongnu.org Cc: kwolf@redhat.com, quintela@redhat.com, stefano.stabellini@eu.citrix.com, lcapitulino@redhat.com, hare@suse.de, amit.shah@redhat.com, hch@lst.de Signed-off-by: Markus Armbruster --- 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 d8b1d43..cbda0c2 100644 --- a/hw/ide/core.c +++ b/hw/ide/core.c @@ -2051,7 +2051,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, @@ -2063,7 +2063,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, @@ -2125,7 +2125,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