From nobody Thu Nov 13 23:21:13 2025 Delivered-To: importer@patchew.org Received-SPF: pass (zohomail.com: domain of gnu.org designates 209.51.188.17 as permitted sender) client-ip=209.51.188.17; envelope-from=qemu-devel-bounces+importer=patchew.org@nongnu.org; helo=lists.gnu.org; Authentication-Results: mx.zohomail.com; dkim=fail; spf=pass (zohomail.com: domain of gnu.org designates 209.51.188.17 as permitted sender) smtp.mailfrom=qemu-devel-bounces+importer=patchew.org@nongnu.org; dmarc=fail(p=none dis=none) header.from=redhat.com ARC-Seal: i=1; a=rsa-sha256; t=1583360489; cv=none; d=zohomail.com; s=zohoarc; b=gIyqqIQlL0i2gzaAd/TBSvERbIgkVNxCaWVdByFv+w7ZrrE+m0l5NZ+JP4CnI0voePmy8DM+v2LYnLvCcnAKZk8JjjPD+IGvTl8t46yfoaMrgCn+GiZTQ6SxXx0Pkraa4ojoaeN/qI1beGEhoX1Y6B089E3HhCervzct2br8Dag= ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=zohomail.com; s=zohoarc; t=1583360489; h=Content-Type:Content-Transfer-Encoding:Cc:Date:From:In-Reply-To:List-Subscribe:List-Post:List-Id:List-Archive:List-Help:List-Unsubscribe:MIME-Version:Message-ID:References:Sender:Subject:To; bh=CFcihQRQW984a0z/mekZG0vNwXsxhiN/8+AlkGU0X9k=; b=PFV1I7hFF/L/0nrGZyxNshS32XuiDs+mzDdx+/ktRYOdZ9npT4R3NVdUwvEIv4uM6N6N/BhvkMs2dBCZEC5mDoMBado62SYwNOJm9ng4Dk9YcGJR1hHVYiznWsqEGjH76mDxiVvvK76WjIKeoZe/XNxYMxdMVoCvBHSJOI9uxeY= ARC-Authentication-Results: i=1; mx.zohomail.com; dkim=fail; spf=pass (zohomail.com: domain of gnu.org designates 209.51.188.17 as permitted sender) smtp.mailfrom=qemu-devel-bounces+importer=patchew.org@nongnu.org; dmarc=fail header.from= (p=none dis=none) header.from= Return-Path: Received: from lists.gnu.org (lists.gnu.org [209.51.188.17]) by mx.zohomail.com with SMTPS id 1583360489858400.4902340442957; Wed, 4 Mar 2020 14:21:29 -0800 (PST) Received: from localhost ([::1]:40530 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1j9cOO-0005Uq-MP for importer@patchew.org; Wed, 04 Mar 2020 17:21:28 -0500 Received: from eggs.gnu.org ([2001:470:142:3::10]:33131) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1j9cLf-0000Wd-Qa for qemu-devel@nongnu.org; Wed, 04 Mar 2020 17:18:40 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1j9cLe-0006vp-QE for qemu-devel@nongnu.org; Wed, 04 Mar 2020 17:18:39 -0500 Received: from us-smtp-delivery-1.mimecast.com ([205.139.110.120]:36563 helo=us-smtp-1.mimecast.com) by eggs.gnu.org with esmtps (TLS1.0:DHE_RSA_AES_256_CBC_SHA1:32) (Exim 4.71) (envelope-from ) id 1j9cLe-0006va-N4 for qemu-devel@nongnu.org; Wed, 04 Mar 2020 17:18:38 -0500 Received: from mail-ed1-f70.google.com (mail-ed1-f70.google.com [209.85.208.70]) (Using TLS) by relay.mimecast.com with ESMTP id us-mta-200-40ZlwSWsOfmwVbFthSEnmg-1; Wed, 04 Mar 2020 17:18:36 -0500 Received: by mail-ed1-f70.google.com with SMTP id a11so1291904eds.15 for ; Wed, 04 Mar 2020 14:18:36 -0800 (PST) Received: from localhost.localdomain (47.red-88-21-205.staticip.rima-tde.net. [88.21.205.47]) by smtp.gmail.com with ESMTPSA id a10sm1714629edt.50.2020.03.04.14.18.33 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Wed, 04 Mar 2020 14:18:34 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=redhat.com; s=mimecast20190719; t=1583360318; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:cc:mime-version:mime-version:content-type:content-type: content-transfer-encoding:content-transfer-encoding: in-reply-to:in-reply-to:references:references; bh=CFcihQRQW984a0z/mekZG0vNwXsxhiN/8+AlkGU0X9k=; b=XKTuAcrSm3awrrlcZIVhOvaP5diNQ0SHz+OJ6M/A4HwGQ/HBsSEHY20cmMymyDSUmRvNoA 1oN77DXlJdoYexzMHblMCgHPms3ZpU4R8ZxQE6L0RSCuUsym7qouEGP4JzOOXTYPx3+snd 3bfUeNZKYSAM8Yb05YNSzlqzhyPZr2o= X-MC-Unique: 40ZlwSWsOfmwVbFthSEnmg-1 X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:from:to:cc:subject:date:message-id:in-reply-to :references:mime-version:content-transfer-encoding; bh=NxwSRvf3xC8N2g5o+oXCsfEFodIN9fcThiRrbeywMlg=; b=a9hufVGYEH0L+XjUlRtC0MBzx+bcNPXrwEH2ZDnzPleOXbaMCDNKUvhc3IrzcKp24N oa+cPpd1Ygq0Vlyodvx9NyLbK/LhULGXW/lus4mByWJ9NT4fPCVk/D3hHP1f0jickyXE LdudB1teLB3AZ2tTCmBx+9M38NvUo9cdSIRLxEhBfbIhmqkZHsGW+KhbQZCSYX1zn1ul I9UnjZCgc2XahSmPraEsTpDpnRzJ5T08R+lHq/2lgVgjB65Y66/ayBACXsqTgR/SXlGy gEzGn/KhxwPLlbRYBbXIuiK7Rv/SlAyyfFSQlSUCDLwEiV/3qMcpiwiy561epWAew3g8 EBRg== X-Gm-Message-State: ANhLgQ1rrAopIdpMrhl2+zBy6fDC1mTif6Siw36yguaQnOJdDpbXYdB0 9xR/Za3zZJ9nlcN0t5XxnoxZ1PUjokNaMoMpnCzBe6JHLD2yjU+wgPeDMfGCQUbpGBOH8hT/YU9 Z/lcaEWOABx4fvpY= X-Received: by 2002:aa7:c247:: with SMTP id y7mr4714026edo.376.1583360315010; Wed, 04 Mar 2020 14:18:35 -0800 (PST) X-Google-Smtp-Source: ADFU+vsCGvKZw64GnBwnakygOFTqcpNPa/Q3gqpp7wrdeUodsHHy6zRbfAFju5NyQpibcxt/UU0/iw== X-Received: by 2002:aa7:c247:: with SMTP id y7mr4713988edo.376.1583360314628; Wed, 04 Mar 2020 14:18:34 -0800 (PST) From: =?UTF-8?q?Philippe=20Mathieu-Daud=C3=A9?= To: qemu-devel@nongnu.org Subject: [PATCH 5/6] ui/curses: Make control_characters[] array const Date: Wed, 4 Mar 2020 23:18:06 +0100 Message-Id: <20200304221807.25212-6-philmd@redhat.com> X-Mailer: git-send-email 2.21.1 In-Reply-To: <20200304221807.25212-1-philmd@redhat.com> References: <20200304221807.25212-1-philmd@redhat.com> MIME-Version: 1.0 X-Mimecast-Spam-Score: 0 X-Mimecast-Originator: redhat.com Content-Transfer-Encoding: quoted-printable X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.2.x-3.x [generic] X-Received-From: 205.139.110.120 X-BeenThere: qemu-devel@nongnu.org X-Mailman-Version: 2.1.23 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Cc: qemu-trivial@nongnu.org, Paolo Bonzini , =?UTF-8?q?Philippe=20Mathieu-Daud=C3=A9?= , Gerd Hoffmann Errors-To: qemu-devel-bounces+importer=patchew.org@nongnu.org Sender: "Qemu-devel" X-ZohoMail-DKIM: fail (Header signature does not verify) Content-Type: text/plain; charset="utf-8"; text/plain; charset="utf-8" As we only use this array as input, make it const. Signed-off-by: Philippe Mathieu-Daud=C3=A9 --- ui/curses.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/ui/curses.c b/ui/curses.c index 3a1b71451c..3bafc10c1c 100644 --- a/ui/curses.c +++ b/ui/curses.c @@ -529,7 +529,7 @@ static void font_setup(void) * Control characters are normally non-printable, but VGA does have * well-known glyphs for them. */ - static uint16_t control_characters[0x20] =3D { + static const uint16_t control_characters[0x20] =3D { 0x0020, 0x263a, 0x263b, --=20 2.21.1