From patchwork Thu Aug 2 08:40:29 2012 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-Patchwork-Submitter: =?utf-8?q?Herv=C3=A9_Poussineau?= X-Patchwork-Id: 174703 Return-Path: X-Original-To: incoming@patchwork.ozlabs.org Delivered-To: patchwork-incoming@bilbo.ozlabs.org Received: from lists.gnu.org (lists.gnu.org [208.118.235.17]) (using TLSv1 with cipher AES256-SHA (256/256 bits)) (Client did not present a certificate) by ozlabs.org (Postfix) with ESMTPS id 2DC362C008C for ; Thu, 2 Aug 2012 18:39:59 +1000 (EST) Received: from localhost ([::1]:42096 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Swqwn-0006oA-AE for incoming@patchwork.ozlabs.org; Thu, 02 Aug 2012 04:39:57 -0400 Received: from eggs.gnu.org ([208.118.235.92]:56143) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Swqwb-0006nr-I5 for qemu-devel@nongnu.org; Thu, 02 Aug 2012 04:39:50 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1SwqwX-0006uS-JN for qemu-devel@nongnu.org; Thu, 02 Aug 2012 04:39:45 -0400 Received: from smtp1-g21.free.fr ([212.27.42.1]:52114) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1SwqwX-0006uF-42; Thu, 02 Aug 2012 04:39:41 -0400 Received: from localhost.localdomain (unknown [82.227.227.196]) by smtp1-g21.free.fr (Postfix) with ESMTP id BF86B940158; Thu, 2 Aug 2012 10:39:35 +0200 (CEST) From: =?UTF-8?q?Herv=C3=A9=20Poussineau?= To: qemu-devel@nongnu.org Date: Thu, 2 Aug 2012 10:40:29 +0200 Message-Id: <1343896830-3503-1-git-send-email-hpoussin@reactos.org> X-Mailer: git-send-email 1.7.10.4 MIME-Version: 1.0 X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.6 (newer, 3) X-Received-From: 212.27.42.1 Cc: qemu-trivial@nongnu.org, =?UTF-8?q?Herv=C3=A9=20Poussineau?= Subject: [Qemu-devel] [PATCH 1/2] qom: add missing 'const' in documentation sample X-BeenThere: qemu-devel@nongnu.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: qemu-devel-bounces+incoming=patchwork.ozlabs.org@nongnu.org Sender: qemu-devel-bounces+incoming=patchwork.ozlabs.org@nongnu.org Signed-off-by: Hervé Poussineau Acked-by: Andreas Färber --- include/qemu/object.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/include/qemu/object.h b/include/qemu/object.h index 8b17776..e0d326f 100644 --- a/include/qemu/object.h +++ b/include/qemu/object.h @@ -65,7 +65,7 @@ typedef struct InterfaceInfo InterfaceInfo; * int reg0, reg1, reg2; * } MyDevice; * - * static TypeInfo my_device_info = { + * static const TypeInfo my_device_info = { * .name = TYPE_MY_DEVICE, * .parent = TYPE_DEVICE, * .instance_size = sizeof(MyDevice),